0x55aa
โ† Back to Blog

#Laravel

27 articles tagged with "laravel"

laravelphpeloquent
8 min read

Laravel Model Casts: Making Data Types Not Suck ๐ŸŽฏ

Stop manually converting JSON strings and dates! Laravel's model casts handle data transformation automatically. Let me show you the magic I wish I knew 5 years ago.

Feb 12, 2026
laravelphpfile-uploads
6 min read

Laravel File Uploads: Stop Storing PDFs in Your Database! ๐Ÿ“

Your database isn't a file cabinet! Learn how to handle file uploads like a pro, from local storage to S3, without blowing up your server.

Feb 11, 2026
laravelphpperformance
7 min read

Laravel N+1 Queries Are Killing Your App (And You Don't Even Know It) ๐Ÿ’€

That 'fast' local app that takes 10 seconds in production? Spoiler: It's N+1 queries. Here's how I hunted them down and made our API 50x faster.

Feb 10, 2026
laravelphpperformance
8 min read

Laravel Cache: Stop Hitting the Database Every Single Time ๐Ÿš€๐Ÿ’พ

Your database is crying. Every page load = 47 queries. Let me show you how caching saved our production API from melting down and cut response times by 80%.

Feb 09, 2026
laravelphpauthorization
8 min read

Laravel Policies & Gates: Authorization That Doesn't Suck ๐Ÿ”

Stop putting authorization logic everywhere! Let's use Laravel Policies and Gates to keep your code clean and your users in their lane.

Feb 08, 2026
laravelphpweb-dev
8 min read

Laravel Factories & Seeders: Fake Data That Looks Real ๐ŸŽญ

Stop manually creating test data like a caveman! Learn how I use Model Factories and Seeders to spin up realistic databases in seconds - the same patterns we use in production at Cubet.

Feb 07, 2026
laravelphpweb-dev
7 min read

Laravel Macros: Extend the Framework Without Forking It ๐ŸŽฉโœจ

Want to add custom methods to Laravel's core classes without touching framework code? Macros are your secret weapon. Here's how I've used them in production to keep code DRY.

Feb 06, 2026
laravelphpeloquent
6 min read

Laravel Accessors & Mutators: Stop Fighting with Your Data ๐ŸŽฉโœจ

Your database stores 'john_doe' but you need 'John Doe'? Let Laravel do the heavy lifting automatically!

Feb 05, 2026
laravelphpeloquent
6 min read

Laravel Scopes: Stop Writing the Same Query Over and Over ๐Ÿ”

If you're copy-pasting the same WHERE clauses everywhere, Laravel scopes are about to change your life. Clean, reusable query filters that actually make sense!

Feb 04, 2026
laravellivewirephp
7 min read

Laravel Livewire: Build SPAs Without JavaScript Hell ๐Ÿ”ฅ

Tired of Vue/React complexity? Livewire lets you build reactive UIs with pure PHP. It's like magic, but real!

Feb 03, 2026
laravelphpweb-dev
7 min read

Laravel Observers: The Silent Watchers ๐Ÿ‘€

Stop cluttering your controllers! Let Laravel Observers watch your models and handle side effects like a ninja. Clean code incoming!

Feb 02, 2026
laravelphpapi
5 min read

Laravel API Resources: JSON Responses That Don't Suck ๐ŸŽจ

Stop returning raw Eloquent models in your API! Learn how Laravel API Resources make your JSON responses clean, consistent, and actually maintainable.

Feb 01, 2026
laravelphpdatabase
6 min read

Laravel Transactions: All or Nothing (No Half-Baked Data) ๐Ÿ›ก๏ธ

Your database is a hot mess because you're not using transactions. Let's fix that before your users notice!

Jan 31, 2026
laravelsecuritysql-injection
9 min read

I Accidentally Found SQL Injection in Laravel (While Procrastinating) ๐Ÿ˜…

Was building my 'perfect' framework with DDD, TDD, and Clean Architecture. Ended up finding security bugs in Laravel instead. Classic developer move.

Jan 30, 2026
laravelphpnotifications
7 min read

Laravel Notifications: Stop Reinventing the Messaging Wheel ๐Ÿ“ฌ

Sending emails, SMS, Slack messages, and push notifications with one simple API. Laravel notifications make messaging so easy, you'll wonder why you ever wrote custom mailers!

Jan 30, 2026
laravelphpblade
6 min read

Laravel Blade Components: Stop Copy-Pasting HTML Like a Caveman ๐ŸŽจ

Still copying the same HTML in 20 different files? Let me introduce you to Blade Components - Laravel's secret weapon for clean, reusable UI code!

Jan 29, 2026
laravelphpweb-dev
8 min read

Laravel Route Model Binding: Stop Querying Models Manually Like a Caveman ๐Ÿฆ–

Still writing User::findOrFail($id) in every controller? Laravel's route model binding will make you feel like you've discovered fire!

Jan 28, 2026
laravelphpevents
8 min read

Laravel Events: Stop Cramming Everything Into One Controller ๐ŸŽฏ

Your controllers look like spaghetti? Events and Listeners will save your sanity and make your code so clean you'll cry tears of joy!

Jan 27, 2026
laravelphpweb-dev
6 min read

Laravel Queues: Stop Making Your Users Wait Like It's the DMV ๐Ÿšฆ

Your users are staring at loading spinners while you send emails? Let's fix that with Laravel queues - the secret weapon for background tasks!

Jan 26, 2026
laravelphpcollections
8 min read

Laravel Collections: Stop Writing Loops Like It's 1999 ๐Ÿ”ฅ

Still using foreach everywhere? Laravel Collections will blow your mind and make your code so clean you'll want to frame it!

Jan 25, 2026
laravelphpeloquent
7 min read

Laravel Eloquent Relationships: Beyond hasMany and belongsTo ๐Ÿ”—

Think you know Eloquent relationships? These advanced tricks will change how you query your database forever!

Jan 24, 2026
laravelphpdependency-injection
7 min read

Laravel's Service Container: The Magic Box You've Been Ignoring ๐Ÿ“ฆ

Think dependency injection is scary? Laravel's Service Container makes it so easy, you'll wonder why you ever used 'new' everywhere!

Jan 23, 2026
laravelphpeloquent
6 min read

Eloquent Relationships That Don't Make You Cry ๐Ÿ˜ญ

Stop fighting with your database relationships! Here's how to use Eloquent like a pro (without the headaches).

Jan 21, 2026
laravelphpmiddleware
7 min read

Laravel Middleware: Your App's Bouncer ๐Ÿšช

Middleware is like having a bouncer at your app's door. Let's learn how to use it without getting kicked out!

Jan 21, 2026
laravelphptesting
7 min read

Laravel Testing That Won't Make You Cry ๐Ÿงช

Testing doesn't have to be boring! Here's how to write Laravel tests that actually save your bacon (and your sanity).

Jan 21, 2026
laravelphpvalidation
5 min read

Laravel Validation That Doesn't Suck ๐ŸŽฏ

Stop terrorizing your users with cryptic error messages! Here's how to write Laravel validation that's actually... helpful.

Jan 21, 2026
laravelphpperformance
4 min read

5 Laravel Tricks That'll Make Your App Fly ๐Ÿš€

Your Laravel app is slow? Let's fix that! Here are 5 simple tricks that actually work (no PhD required).

Jan 20, 2026