Latest Premium Tutorial
-
· 9 mins, 1658 words · premium
Laravel Vue SPA: Roles and Permissions Example with CASL
In this tutorial, we will show how to add permissions to the Laravel application with Vue.js SPA architecture. For the example, we will take a basic CRUD of posts, create two roles (admin and editor), and the editor role will not be able to delete the posts.
Newest content
-
· 3 mins, 536 words
Add the First Admin User to Live Laravel Site: Two Ways
-
· 3 mins, 443 words
Laravel Unique Validation for Multiple Columns
-
Random Quick Laravel Tip:
Column name changeIn Eloquent Query Builder, you can specify "as" to return any column with a different name, just like in plain SQL query.
$users = DB::table('users')->select('name', 'email as user_email')->get(); -
· 5 mins, 820 words
Laravel Conditional Validation Based on Other Fields: 4 Examples
-
· 5 mins, 848 words
"GET Method is not Supported for this Route". What to do? (4 Examples)
-
· 2 mins, 279 words
Set Laravel User Locale in Middleware
-
Premium Course: Practical Laravel Queues on Live Server
-
· 2 mins, 260 words
How To Install Older Laravel Version
-
· 8 mins, 1458 words · premium
Store Laravel Global Settings in the Database (with Caching)
-
· 22 mins, 4342 words · premium
Laravel Spatie Media Library: 8 Less-Known Features with Demos
-
· 2 mins, 333 words
Laravel: Automatically Log N+1 Queries to Bugsnag or Similar Tool
-
· 21 mins, 4005 words · premium
E-Shop Sidebar Filter: Alpine.js for Search and Show/Hide