Turning Laravel exceptions into explanations: my first open-source package

Every exception has two audiences that want opposite things — the developer who needs detail and the user who needs calm. I built a small Laravel package that serves both from the same throwable, using your own LLM keys. Here is what it does, the design rules an error handler forced on me, and what shipping a public package actually taught me.

K

Kolawole

1 month ago

Read →

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

4 months 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 months 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 →