Fibers, Filaments, and the Future of PHP
Dive into asynchronous programming with Fibers, explore new architectural patterns, and get the latest on PHP 8.5 and Filament v4.
As the last days of August 2025 slip away, I’m back from a much-needed holiday, only to be thrown straight into a performance-tuning rabbit hole. At our fintech, we’ve been hitting some serious bottlenecks in our end-of-day transaction processing queue. It’s a classic problem: how do you make PHP work harder without melting the servers? This week’s issue feels like it was written just for me.
🥦 Tired of spaghetti… code and carbs? [ad]
Check out Kaiden — an AI fitness buddy that talks to you like a chat, tracks your meals/workouts/sleep, and keeps you from esnding up as legacy code. It’s free and no card required, so jump in before we var_dump() the price.
The articles on mastering Fibers for asynchronous programming and optimizing large JSON payloads are exactly what my team needs to be reading right now. It’s a great reminder that modern PHP offers powerful tools to tackle these kinds of concurrency challenges. Speaking of modern PHP, it’s also exciting to see the first beta for PHP 8.5 has landed, bringing its own set of changes we’ll all need to adapt to.
Whether you’re wrestling with performance, exploring new architectural patterns like AQC, or celebrating the stable release of Filament v4 in the Laravel world, there’s plenty in here to get your teeth into this week. Enjoy!
PHP
The term “coroutine” often comes up when talking about asynchronous or non-blocking code, but what does it actually mean? In this post, we will explore coroutines as a concept and see how PHP supports them through Generators and Fibers.
📚 Repository Pattern vs Atomic Query Construction (AQC) Design Pattern
Recently, I have written an article, Atomic Query Construction Design Pattern, and explained how it works. Today, I am going to tell how it differs from repository pattern.
📚 Advanced PHP Backend: Mastering Fibers for Asynchronous Programming
Fibers provide a powerful way to handle asynchronous operations without the complexity of traditional multi-threading or callback-based approaches.
📚 PHP Return Types Explained: function(): array vs function()
As PHP developers, we often write functions that return data like strings, objects, or arrays. But how we define those return values can make a huge difference in code quality, safety, and maintainability.
📚 How to Build a PHP REST API Step by Step
Ever thought about how your PHP applications communicate in the background? Whether it’s linking your website with a mobile app, integrating third-party apps, or retrieving live data, PHP APIs streamline the whole process.
📚 How to Set the PHP Memory Limit for Better Performance
In this guide, you’ll learn how to increase the memory limit step by step, in a simple and easy way.
📚 Optimizing Large JSON Payloads in PHP: Compression, Chunking & Batching
Deliver big JSON datasets without blowing memory, timing out requests, or frustrating clients.
In this monthly update I explain what happened with Xdebug development. GitHub and Pro/Business supporters will get it earlier, around the first of each month. In the last month, I spend around 14 hours on Xdebug, with 23 hours funded. I went on a holiday!
📚 PHP 8.5.0 Beta 1 available for testing
The PHP team is pleased to announce the first beta release of PHP 8.5.0, Beta 1. This continues the PHP 8.5 release cycle, the rough outline of which is specified in the PHP Wiki.
📚 What to Choose for Creating a PHP Admin Panel?
I’m sharing my hands-on tests of installing and making initial modifications to various admin panels.
📚 Interface Segregation Principle (ISP)
this topic is easy to understand and help us to develop code with loose coupled and more reusable.
📚 Stop Returning null from Repositories — Do This Instead
Make your repository APIs explicit, testable, and robust — no more surprise null values.
Laravel
📚 How Experienced PHP & Laravel Developers Handle Conditional Logic
In this article, we’ll explore how experienced developers handle condition-based logic in PHP & Laravel the clean and optimized way.
📚 PHP Essentials: The Foundational Concepts Every Beginner Should Master
PHP powers huge parts of the web — from single-file scripts to full Laravel apps. If you want to write reliable, maintainable PHP, you should learn the concepts that underlie everything else.
📚 Creating Dynamic Real-Time Features with Laravel Broadcasting
Laravel’s broadcasting system empowers developers to build responsive, real-time applications that deliver instant updates to users. From live dashboards to collaborative workspaces, broadcasting transforms static applications into dynamic, interactive experiences.
📚 Efficient Context Management with Laravel’s Remember Functions
Laravel’s Context API introduces powerful remember() and rememberHidden() methods that streamline request-scoped data management through elegant closure-based memoization. These functions optimize expensive computations across your application with clean, expressive syntax.
📚 How to Set Up Laravel with PostgreSQL (Step-by-Step Guide)
In this article, we’ll focus on how to set up a new Laravel application with PostgreSQL as the database.
📚 How to Disable the Laravel Debugbar in Production
Your production site is slow and leaking sensitive data through the Debugbar? Here’s the immediate fix.
📚 Laravel’s Pluck Gets Smarter: Closure Support for Custom Transformations
Laravel’s pluck() method just got more powerful with closure support for both key and value parameters. No more switching to mapWithKeys() when you need simple formatting transformations.
📚 Inertia Releases a New Form Component
The Laravel team released a new <Form/> component for Inertia, providing a component that “behaves much like a classic HTML form, but uses Inertia under the hood to avoid full page reloads.”
If you haven’t been keeping up with the news regarding the v4 beta, or if you’re new to Filament as of version 4, you’ll be very happy to know that we have added in some incredible updates, new features, and overall performance enhancements to help you build even more incredible applications with Filament.
📚 Laravel Architecture Evolved: AQC Took Over Everything
If you’ve been following my Laravel writing journey, you know where we started. This post is about the next step in that evolution: replacing handle() from FormRequest with dedicated AQC classes.
📚 Going Serverless with Laravel Vapor: Simplify Scalability and Deployment
Imagine this: your Laravel app is running smoothly, until a sudden traffic spike hits. Maybe your product got featured on a tech blog, or a tweet went viral. Your inbox is blowing up, users are refreshing like crazy, and your server is screaming for mercy.
📚 Mastering Laravel’s Service Container: The Hidden Powerhouse Every Developer Should Know
In this deep dive, I’ll share the techniques I use daily to write cleaner, more maintainable Laravel applications.
Symfony
📚 August 11–17, 2025: A Week of Symfony #972
This week, development activity mostly focused on dealing with the deprecation of sleep/wakeup methods in PHP 8.5 and their replacement by serialize/unserialize methods. In addition, we published more details about the unconference track at the SymfonyCon Amsterdam 2025 conference and a Symfony AI Hackathon on September 12, 2025.
📚 Symfony in Review: My Opinion on Recent Developer Experience Updates
Symfony is a technology I’ve worked with since 2017 on different projects. It’s always been my go-to framework in the PHP ecosystem — I’ve always liked how modular it is and how it has evolved over time.

