Faster Database Queries With This One Trick
Clean Code, Happy Devs: Laravel Best Practices You Wish You Knew Sooner! Simplified HTTP Response Mocking in Laravel Tests; and more.
🔥 I’m sharing 3-4 different repos each day you may like. 🔥
Follow me on X’s, Threads, or in Blue Sky.
PHP
📚 PHP Ecosystem Deep Dive: The Code Quality Landscape
I wanted to see the big picture of PHP code in the wild, so I went all in. I downloaded the entire PHP ecosystem—a whopping 236 GB of Git repositories containing a total of 2.3 billion lines of code.
📚 Debugging PHP with VSCode and XDebug: A Step-by-Step Guide
This guide will walk you through setting up XDebug, enabling breakpoints, stepping through code, using stack traces, and troubleshooting common issues.
📚 API design note: Beware of adding an “Other” enum value
The idea here is that Widgets come in three flavors today, but we might add new flavors in the future, so we add an Other value to cover any future flavors.
📚 Context, not prompts. The missing piece in effective AI-assisted development
After using ChatGPT and Claude daily for the past year as part of my development workflow, I’ve learned one crucial lesson: context is everything. The quality of AI’s help directly depends on how much relevant information I feed it.
Laravel
📚 Route Declaration Order: Laravel’s Hidden Routing Rule
Ever wondered why your custom Laravel routes suddenly disappeared? Trust me, you’re not alone. I’ve spent countless hours debugging this exact issue – and now I’m sharing the solution that will save you major headaches.
📚 PHP Superglobals: Usage, Security, and Best Practices in Modern Development
In this article, we’ll explore how Superglobals are used in PHP 8, their role in frameworks like Symfony and Laravel, their security risks, and best practices. We’ll also provide good and bad examples of their usage.
📚 Clean Code, Happy Devs: Laravel Best Practices You Wish You Knew Sooner!
In this article, we’ll explore these essential Laravel best practices, from structuring your code to optimizing database operations, ensuring your projects stay efficient and developer-friendly.
📚 PHP Error Handling and Exceptions: Best practices for robust applications
In this article, we’ll explore the principles of PHP error handling, the use of exceptions, proper logging practices, the integration of advanced logging tools like Sentry and Graylog, and how modern PHP — as well as popular frameworks like Symfony and Laravel — approach error management.
📚 Implementing Atomic Design Principles in Laravel
In this blog post, we’ll review how to use these principles in a Laravel application.
📚 Cleaner Queue Chains with Laravel’s Enum Integration
Laravel now supports direct use of backed enums with the Bus facade’s onQueue method, eliminating the need to manually access the enum’s value property. This improvement creates cleaner, more expressive code when working with job chains and queues.
📚 Ensuring Secure URLs in Laravel Applications
Laravel’s forceHttps method provides a straightforward way to enforce HTTPS for all generated URLs in your application. This feature ensures that your links, redirects, and assets always use secure connections in production environments.
📚 In-depth guide on documenting API requests with Scramble
When documenting the endpoints of your API, you can mentally split the task into documenting the request part (authentication, request body, request parameters) and documenting the response part. In this guide, we’ll do a deep dive into request documentation.
📚 How to Configure Virtual Hosts on XAMPP for Laravel on Windows 10
In this guide, I’ll show you exactly how to configure virtual hosts on XAMPP for Windows 10. And trust me—it’s simpler than it sounds. Ready? Let’s roll!
📚 Faster Database Queries With This One Trick
Ever wonder why your Laravel app slows to a crawl with just a few hundred records? The answer might surprise you—and it’s hiding in plain sight.
📚 Advanced Query Techniques for Laravel API Development
This article will explore various advanced query techniques for building efficient and scalable APIs with Laravel.
📚 Simplified HTTP Response Mocking in Laravel Tests
Laravel streamlines testing HTTP interactions with its elegant shorthand syntax for HTTP response fakes. This approach substantially reduces code verbosity while making your test mocks more intuitive.
📚 Laravel MongoDB 5.2 Released: Support for Laravel 12, Laravel Scout, Vector Search, and more
The MongoDB PHP team released version 5.2.0 of the Laravel MongoDB integration.
📚 MoonShine v3: Key Changes and New Features in the Open-Source Admin Panel for Laravel
We will explore improvements in installation and configuration, support for different configuration approaches, enhancements in field management, new integration opportunities with APIs, and better work with components and menus.
📚 Temporary Context Scope in Laravel 12.1
The Laravel team tagged v12.1.0—the first minor release of Laravel 12—which includes a context scope method, an Arr::partition() method, a getRawSql() method on query exception instances, and more.
Laravel Live Denmark is back with the second edition. Join over 300 other Laravel and PHP enthusiasts from around the world for two days of learning, 16 speakers and more within the Laravel community.
📚 Stop Using Service + Repository in Laravel. A Better Architecture for Small & Medium Businesses
The Laravel community has long recommended using Service classes and Repository classes to organize source code. However, I’ve noticed that many teams encounter two major problems when implementing this architecture.
📚 Laravel Performance Secrets: How to Make Your App Blazing Fast
Let’s dive into some practical tips and best practices to enhance Laravel’s performance and make it run smoothly.
Symfony
📚 A Week of Symfony #949 (3-9 March 2025)
This week, the upcoming Symfony 7.3 version renamed the JsonEncoder component to JsonStreamer, added support for Valkey schemes in the Cache component and introduced a field_id() form helper.
📚 My own PHP CS Fixer setup: A practical example
I want to share my personal PHP CS Fixer configuration, which ensures clean and consistent code across my private Symfony project.

