PHP

363 readers
1 users here now

<?

namespace lemmy\php;

/*

Welcome to the PHP community on Lemmy

#Rules:

1: Soon(TM)

#Helpful stuff:

PHP Documentation

Composer

PHP Standards

#Common frameworks:

Symfony

Larvel

*/

echo "Welcome";

founded 1 year ago
MODERATORS
1
8
ZCE is dead (home.pearsonvue.com)
submitted 1 year ago by lankybiker to c/php
 
 

The ZCE exam is dead

There were a lot of haters, but it is/was the only seriously challenging general PHP qualificiation that I'm aware of

If you could pass it without cheating, then it proved - in my opinion - that you had a good general grasp of PHP concepts rather than being a "framwork developer" who can't really handle raw/unfamiliar PHP code

I can't find any alternatives which is a shame as PHP 8 has brought the language on a lot and it would be great to have a ZCE 8 to go with it

2
3
4
 
 

Link to internals discussion: https://externals.io/message/120972

5
 
 

A good article on implementing an event loop in PHP using the built-in fibers.

6
 
 

The article title is a little clickbaity, but basically, Doctrine and Symfony documentation don't mention that you can use constructor almost anywhere in the documentation.

7
 
 

A while ago I made this Symfony bundle that automagically memoizes your service methods using a PSR-6 cache.

Usage is very simple in 3 steps:

  1. have the service you want to memoize implement any interface
  2. mark the service with the #[Memoizable] attribute
  3. mark methods (or whole service) with the #[Memoize] attribute

Done!

8
6
submitted 1 year ago by bsorsdahl to c/php
 
 

Old coder looking to get back into it. At least as a hobby.. have not worked with php since 2000ish. Any suggestions where to start?

9
10
 
 

Now you can go nuts with all the bots you can think of!

Any feedback welcome.

11
 
 

Why is this needed? Don't Traits already cover this functionality?

12
4
Anybody used Swoole? (startrek.website)
submitted 1 year ago by [email protected] to c/php
 
 

What are your thoughts on it? It's performance much better than FPM? Have you used hyperf, or another framework with it, and if so, what do you think about them?

13
3
Improve your vscode for php (viatsko.github.io)
submitted 1 year ago by Madpeter to c/php
14
15
6
Welcome (self.php)
submitted 1 year ago by Madpeter to c/php
 
 

Not much here yet but lets change that. news & stuff related to php from around the internet.