Alamgir Hosen·Sep 19Laravel Eloquent ORM, Part 7: Advanced Eloquent PatternsWelcome to Part 7 of the Laravel Eloquent ORM series. Everything so far has been things you’ll use constantly. This part covers patterns…
code with sjm·Feb 23Mastering Query Scopes in Laravel 12If you’ve been writing Laravel for any amount of time, you’ve probably caught yourself copy-pasting the same where() clauses across…
Rejwan Ahmed·Feb 6Understanding Laravel Query Scopes: Clean Up Your Database QueriesIf you’ve been working with Laravel’s Eloquent ORM, you’ve probably written the same where clauses over and over again. That's where query…
Abu Sayed·Jul 13, 2024Master Laravel Query Scopes: Optimize Your Database QueriesLearn how to use Laravel Query Scopes to write cleaner, more efficient database queries. Explore local and global scopes, best practices…
Turan Karatuğ·Mar 11, 2024Testing Eloquent Scopes: A Comprehensive GuideWelcome to this comprehensive guide on testing Eloquent scopes in Laravel. Eloquent scopes provide a powerful way to encapsulate common…