Newest content
-
· 4 mins, 684 words
Laravel: Login and Register forms on the same page
-
· 7 mins, 1314 words
How to Structure Routes in Large Laravel Projects?
-
Random Quick Laravel Tip:
Log all the database queries during developmentIf you want to log all the database queries during development add this snippet to your AppServiceProvider
1public function boot()2{3 if (App::environment('local')) {4 DB::listen(function ($query) {5 logger(Str::replaceArray('?', $query->bindings, $query->sql));6 });7 }8}Tip given by @mmartin_joo
-
· 1 min, 195 words
New Course: Laravel PHPUnit Testing for Beginners
-
· 3 mins, 506 words
40 Additional Laravel Validation Rules
-
· 3 mins, 522 words
Laravel Auth: After-Registration Redirect to Previous (Intended) Page
-
Premium Course: Laravel Collections Chains: 15 Real Examples
-
· 2 mins, 302 words
Laravel API 404 Response: Return JSON Instead of Webpage Error
-
· 3 mins, 494 words
"Posts Per Page": How to Save Setting for Every User Individually
-
· 3 mins, 549 words
Taylor Otwell: "Thin" Controllers, "Fat" Models Approach
-
· Updated Aug 2022 · 8 mins, 1488 words
Advanced Laravel: 14 Topics and Links to Learn Them
-
· 2 mins, 254 words
Resize Images in Laravel with Spatie Media Library