Latest Premium Tutorial
-
· 11 mins, 2020 words · premium
Store Public and Private Files/Images in Laravel: Ultimate Guide
When working with files and images in Laravel, you can store them for public and private use. In this tutorial, we will explore how to do both, also looking at local server and Amazon S3 setup.
Newest content
-
· 3 mins, 407 words
Filament: Click on Widget - Auto-Update Table Filter
-
· 7 mins, 1324 words
Facades in Laravel: Do You Need To Use Them? [OPINION]
-
Random Quick Laravel Tip:
Selected blade directiveIn Laravel 9, you'll be able to use the cool new "selected" Blade directive for HTML select elements.
This is going to be a nice addition that we can use to clean up our Blade views a little bit
// Before Laravel 9:<select name="country"><option value="India" {{ old('country') ?? $country == 'India' ? 'selected' : '' }}>India</option><option value="Pakistan" {{ old('country') ?? $country == 'Pakistan' ? 'selected' : '' }}>Pakistan</option></select>// Laravel 9<select name="country"><option value="India" @selected(old('country') ?? $country == 'India')>India</option><option value="Pakistan" @selected(old('country') ?? $country == 'Pakistan')>Pakistan</option></select>Tip given by @VijayGoswami
-
· 18 mins, 3510 words · premium
Laravel Api Auth with Vue and Sanctum: All You Need To Know
-
· 3 mins, 406 words
Composer ignore-platform-reqs: When You Need That Flag?
-
· 2 mins, 339 words
Difference Between composer.json and composer.lock
-
Premium Course: [Mini-Course] Laravel Pennant Overview
-
· 6 mins, 1008 words · premium
How to Name Things in Laravel
-
· 7 mins, 1226 words · premium
Code Styling in Laravel: 11 Common Mistakes
-
· 2 mins, 310 words
Laravel Migration: Add Index - How to Check if it Already Exists?
-
· 3 mins, 463 words
Laravel: API Error Shows HTML and not JSON - How To Fix
-
· 10 mins, 1840 words · premium
Laravel Roles and Permissions: Middleware, Gates or Policies?