Latest Laravel/PHP Articles

Latest Laravel/PHP Articles curated daily from around the web.


Kubernetes is probably the most frequently used orchestrator platform. It is popular for a reason. First of all, it has autoscaling. It can scale not just conta...
I'm thrilled to announce that my new book https://devops-with-laravel.io is finally available. It's easily my biggest project. It's a 388-page book that covers...
https://unit.nginx.org/ is a "Universal Web App Server" brought to you by Nginx. For PHP support, it has a PHP module that creates PHP processes, similar(ish) t...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
https://ohdear.app is the all-in-one monitoring tool for your entire website. We monitor uptime, SSL certificates, broken links, scheduled tasks and more.
After 6 years working on a 20 years old PHP codebase, I had tammed the backend enough to have an incredibly productive architecture. I've been running Laravel o...
It's very common in the Laravel community to use SQLite in-memory for phpunit tests. However, sometimes you may need functionality that differ between MySQL and...
I just watched https://youtu.be/127ng7botO4 and it warms my heart seeing such an amazing group of people. The Laravel community isn't just the people on that vi...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Let's talk about the elephant monolith in the room. It's easy to associate monoliths with legacy, weird, outdated, insecure code. Maybe what I mean by...
This is the third post on a Laravel Report series Part https://blog.deleu.dev/laravel-report-user-defined-sorting/. On a single system, there's likely...
This is the second post on a Laravel Report series that I'm starting. For part 1, check out https://blog.deleu.dev/laravel-report-dynamic-page-size/. T...
I work on the reporting service of a large SaaS application where we offer analytics-as-a-service. One of the biggest challenge in this type of application is t...
CodeMentor Codementor is an online marketplace connecting developers with experts for on- demand 1:1 help via screen sharing, video, and text chat.
Last year https://blog.deleu.dev/phpunit-with-bref/. I start with the docker-compose.yaml file which contains the configuration necessary to start a brand new c...
Completely replacing legacy code is hard. Rebuilding years of work doesn't happen overnight. The strangler pattern offers a strategy to slowly and gradually rep...
Most of the time when I'm writing test code in Laravel I take advantage of the great Storage::fake() provided by Laravel Test Suite. Here's how simple it is for...

blog.deleu.dev

PHPUnit with Bref
One thing I learned to love with Docker was the easy ability to run phpunit with the exact same environment that will be used in production. Whenever I'm settin...