Blog
Thoughts on PHP, Laravel, AI, and software engineering.
MySQL Generated Columns in Laravel
Learn how to use MySQL stored and virtual generated columns in Laravel to auto-compute values like full_name from first_name and last_name
Introducing Laravel Spectra
A Laravel package for AI observability that tracks requests, calculates costs, and enforces budgets across multiple providers
What to Test in Laravel
A practical guide on what you should and should not test in Laravel, and why AI-generated tests need human review
How to modify http responses in Laravel
In this tutorial, you will learn how to manipulate and customize the HTTP responses of your Laravel web application
Pessimistic Locking in Laravel
What is the pessimistic locking?
Make RefreshDatabase trait much faster
Learn how to make the RefreshDatabase trait much faster using the checksum
Observe pivot tables in Laravel
Learn how to observe pivot tables in Laravel
bind vs extend in Laravel Service Container
Do you know the differences between bind and extend?
Laravel Tagging Explained
What is tagging? And is it used in real world?
PHP 8 Attributes in Laravel Event Subscribers
Learn How to Use PHP 8 Attributes in Event Subscribers
Eloquent Performance: Faster LIKE searching
Learn how to LIKE operator could affect your seaching performance
Eloquent Performance: Multiple counting using one single select
Learn how to use count different statues using one single select statement