- Designed Once, Usable Everywhere: why PHP 8.6 adds SortDirection and Time\Duration to the standard library
u/timwolla wrote up the reasoning behind two small PHP 8.6 additions: a SortDirection enum and a Time\Duration class. The short version: a GitHub search found 150+ mutually incompatible...
97 points12 comments6 d ago
- IDE PhpStorm 2026.3 released
77 points31 comments4 d ago
- PHP 8.6 Rewrites Some of Your Calls Before You Notice
How PHP 8.6 is going to speed up your code
73 points10 comments2 d ago
- November 19th is around the corner. So, let's look at what’s all new in PHP 8.6.
54 points20 comments4 d ago
- Building Maintainable PHP Applications: Patterns and Principles
Hey all, I wrote a free course about a bunch of the most popular and most hated design patterns and principles with realistic examples in PHP (Laravel and Symfony). There are a few of them that...
34 points7 comments17 h ago
- Multi-tenant architecture: Database per tenant or shared database with tenant_id?
I’m currently working on a multi-tenant construction management system using Laravel, and I’m trying to figure out the best approach for handling tenancy. I have two questions: 1. Database...
31 points96 comments17 h ago
- Your Doctrine repositories don't need to extend anything
30 points41 comments5 d ago
- How many users can a Symfony app handle on a $12 server (1 CPU, 2 GB RAM)?
For this challenged, I first created a POC app, then: profiled it, optimised it, and repeat, which is what I describe in the article. I tried to keep the app as idiomatic as possible with Symfony,...
24 points21 comments4 d ago
- WebSockets in PHP: what do you think about this approach?
Hello everyone, I'm curious what PHP developers think about a different way to use WebSockets from scripts. Imagine requesting (e.g. GET): new...
21 points18 comments2 d ago
- Making Illegal States Impossible: In-Place Typestates in Pure PHP
21 points18 comments7 d ago