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:
Force Laravel to use eager loadingIf you want to prevent a lazy loading in your app, you only need to add following line to the
boot()
method in yourAppServiceProvider
1Model::preventLazyLoading();But, if you want to enable this feature only on your local development you can change above code on that:
1Model::preventLazyLoading(!app()->isProduction());Tip given by @CatS0up
-
· 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: NEW! Advanced Laravel Testing
-
· 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