Latest Premium Tutorial
-
· 15 mins, 2802 words · premium
Laravel Inertia Roles & Permissions: Breeze/Jetstream Examples
Laravel has a few starter kits like Breeze and Jetstream, but they don't have roles/permissions functionality. This time, let's talk specifically about Vue Inertia versions of those starter kits: how to add the roles and permissions there?
Newest content
-
· 5 mins, 929 words
NEW Laravel Daily: All You Need is Here
-
· 2 mins, 306 words
How to Add Soft Deletes to Every Model/Migration By Default?
-
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
1// Before Laravel 9:2<select name="country">3 <option value="India" {{ old('country') ?? $country == 'India' ? 'selected' : '' }}>India</option>4 <option value="Pakistan" {{ old('country') ?? $country == 'Pakistan' ? 'selected' : '' }}>Pakistan</option>5</select>67// Laravel 98<select name="country">9 <option value="India" @selected(old('country') ?? $country == 'India')>India</option>10 <option value="Pakistan" @selected(old('country') ?? $country == 'Pakistan')>Pakistan</option>11</select>Tip given by @VijayGoswami
-
· 3 mins, 571 words
Don't Use $request->all(): It's Insecure
-
· 1 min, 161 words
New in Laravel 9.25: touch() on Query Builder
-
· 4 mins, 795 words
Laravel Database Transactions: 3 Practical Examples
-
Premium Course: Laravel Testing For Beginners: PHPUnit, Pest, TDD
-
· 2 mins, 226 words
Laravel SuperAdmin: Override All the Gates
-
· 23 mins, 4526 words · premium
FilePond in Laravel: File Upload Guide
-
· 4 mins, 692 words
Laravel Controller into Service Class with Injection
-
· Updated Sep 2022 · 20 mins, 3867 words
Laravel 8 + Vue.js 3 CRUD with Composition API
-
· Updated Aug 2022 · 18 mins, 3410 words
Larger Laravel Projects: 12 Things to Take Care Of