PHP

156 readers
6 users here now

founded 4 years ago
MODERATORS
1
2
3
 
 

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

4
 
 

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

5
 
 

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.

6
 
 

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!

7
1
submitted 11 months ago* (last edited 11 months ago) by rikudou@lemmings.world to c/php@lemmy.ml
8
 
 

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

Any feedback welcome.

9
 
 

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

Any feedback welcome.

10
 
 

There is a common misconception that large open source projects are well-funded. In practice, many rely on a small group of maintainers.

The PHP programming language is one of them. Despite being used by 75%+ of the web, PHP only has a few full-time contributors.

See https://dri.es/php-foundation-launched

#php #opensource

11
12
13
 
 

I'm looking at generating images on the fly in response to web requests. I've already created this in Go, but I want to compare it to PHP.

Specifically, I'm curious about two things - the tools available for creating images pixel-by-pixel, and the libraries/packages available for assembling images in more abstract ways, like with geometry helper methods.

14
15
1
25 Years of PHP History (www.jetbrains.com)
submitted 4 years ago by dignity@lemmy.ml to c/php@lemmy.ml
 
 

A Short History of PHP...