Articles
Quick Tip: A Cleaner Way to Apply Custom Eloquent Builders in Laravel
Learn a cleaner Laravel approach to custom Eloquent query builders using PHP Attributes, simplifying complex query logic with improved readability and structure.
Please, please, please - use Eloquent attribute Casting
Why Laravel Eloquent attribute casting matters, how it simplifies your models, and how proper casting leads to cleaner, safer, and more predictable code.
Tips for developing with VueJS, InertiaJS, Laravel and TailwindCSS (VILT) Stack
Practical tips and lessons learned from building applications with the VILT stack, covering Vue.js, Inertia.js, Laravel, and Tailwind CSS.
Practical Tips for Writing Beautiful PHP Code
Practical advice for writing cleaner, more readable PHP code, focusing on simplicity, consistency, and real-world maintainability over clever abstractions.
Assertable Json String (Laravel 8+)
A deep look at Laravel’s AssertableJsonString for testing JSON assertions cleanly, showing how to wrap data for more expressive and reliable PHPUnit tests.
DRY, KISS and YAGNI vs Coding Standards
A thoughtful exploration of coding principles like DRY, KISS, and YAGNI versus strict coding standards, and why simplicity often wins in real projects.