Why I moved SSE to Node.js (and off PHP-FPM forever)

PHP-FPM is excellent at what it was designed for. Long-lived streaming connections are not that. Here is what worker exhaustion taught me about architectural boundaries, and why SSE now lives exclusively on Node.js in every system I build.

K

Kolawole

2 days ago

Read →

Laravel queue pub/sub with clue/redis-react: a practical guide

Polling-based Redis queues work until they do not. When you need true event-driven job dispatch without a persistent worker process watching a list, clue/redis-react gives you real pub/sub in PHP. Here is how the architecture works and how to implement it in a production Laravel app.

K

Kolawole

4 days ago

Read →

Understanding PHP Namespaces: Organizing Your Code

Namespaces are a crucial feature for managing large projects and collaborating with others while keeping your code organized and free from naming collisions. They help you avoid conflicts and make your code more maintainable.

K

Kolawole

2 years ago

Read →

Mastering Method Chaining in PHP

Method chaining is a powerful technique in object-oriented programming that allows you to connect several functions together to perform a sequence of actions. In this blog post, we'll explore the concept of method chaining in PHP.

K

Kolawole

2 years ago

Read →