A language that's easy to make fun of but widely used is an attractive target for improvement.
A language that's easy to make fun of but widely used is an attractive target for improvement.
As companies started adopting TypeScript/Flow into their Javascript pipeline, PHP developers realised the need for something similar in their ecosystem.
I work at Vimeo (which has a lot of business logic in PHP) and I took it upon myself to write a static analysis tool (which you can play with at https://psalm.dev). Other similar static analysis tools were developed at other places that use PHP, and together they have helped make modern-day PHP development a little more orderly.
I'm curious if you guys use PHP at all for any real time workloads. Thats where I've always had struggles with PHP.
Also, have you found the event dispatch system of the modern PHP frameworks to be slower over time?
If most of the stuff you're doing requires an event loop I'd consider other options before PHP, but if it's mainly serving web requests PHP is my go-to.
[1]: https://symfony.com/blog/symfony-was-the-backend-framework-w...
In all seriousness, I think this has more to do with the ease of PHP development comparatively to other stacks. Even Python (arguably just as easy to learn as PHP), has more overhead here.
It also seems to have declining interest after peaking in 2017[2].
EDIT: I was looking at the wrong repository, so my comment about Laravel's popularity is wrong.
1. https://github.com/laravel/laravel/graphs/contributors
2. https://trends.google.com/trends/explore?date=today%205-y&ge...
https://github.com/laravel/framework/graphs/contributors
To me it seems like the ecosystem is growing rapidly. There are at least three large conferences each year, a handful of established podcasts and an excellent video tutorials site. There are also a number of paid services like Vapor for running Laravel on Lambda, Forge for easier server management and Laravel Shift for automatic version upgrades.
I have seen no PHP renaissance anywhere (real life, Hacker News, reddit, or anywhere else), but I also checked TIOBE[1]. PHP's popularity peaked in 2006, when it was 500% as popular as it is now.