Laravel 12 Roles and Permissions Tutorial using Spatie and Breeze
Hi there 👋, I’m Soeng Souy (StarCode Kh) ------------------------------------------- 🌱 I’m currently creating a sample Laravel and React Vue Livewire 👯 I’m looking to collaborate on open-source PHP & JavaScript projects 💬 Ask me about Laravel, MySQL, or Flutter ⚡ Fun fact: I love turning ☕️ into code! -------------------------------------------- Full code:https://www.souysoeng.com/2025/06/lar... -------------------------------------------- Clone project:https://www.souysoeng.com/2025/07/clo... -------------------------------------------- ▸|00:00:00|Introduction ▸|00:00:40|Prerequisites (PHP, Composer, Node.js, and npm) ▸|00:01:28|Create a New Laravel 12 Project ▸|00:02:26|Install Laravel Breeze Authentication Starter Kit ▸|00:04:06|Install node dependencies and compile assets ▸|00:04:32|Update .env to connect with your database ▸|00:04:52|Run migrations for Breeze auth tables ▸|00:05:31|Start the server ▸|00:05:56|Install Spatie Laravel Permission Package ▸|00:06:20|Publish Spatie Config and Migration Files ▸|00:06:57|Run Migrations for Roles & Permissions ▸|00:07:26|Add HasRoles Trait to User Model ▸|00:07:52|Create Seeder for Roles and Permissions ▸|00:08:27|Seed the Database ▸|00:08:58|Assign Roles to Users ▸|00:09:08|Register New Account ▸|00:09:30|Example using Tinker ▸|00:09:42|Assign role "admin" ▸|00:10:29|Use Blade Directives for Role/Permission Checks ▸|00:11:49|Assign role "editor" ▸|00:14:08|Assign role "viewer" -------------------------------------------- Follow Soeng Souy on: ------------------------------------------- Enjoying the content? ================= ► Subscribe here for FREE: / @laravelcrud -------------------------------------------- ► Telegram: https://t.me/starcodekh -------------------------------------------- ► Facebook page: / starcodekh ------------------------------------------- ► Website: https://souysoeng.com/ ------------------------------------------- ► Fix Code: https://fixcodekh.com/ ------------------------------------------- ► LinkedIn: / soengsouy ------------------------------------------- ► Twitter: / starcodekh ------------------------------------------- 𝗦𝘁𝗮𝗿𝗖𝗼𝗱𝗲 𝗞𝗵 :) Thank you for being so supportive! ------------------------------------------- Learn how to implement Roles and Permissions in Laravel 12 using Spatie's Laravel Permission package along with Laravel Breeze for authentication. In this complete tutorial, we walk through every step to manage user roles, assign permissions, and restrict access to routes or features based on roles in your Laravel 12 application. 🔧 What You'll Learn: Installing and setting up Spatie Permission in Laravel 12 Integrating with Laravel Breeze Creating roles and permissions Assigning roles to users Protecting routes and views with middleware Real-world example usage of RBAC 📁 Source Code: [Link to your GitHub repo or website if available] 📌 Perfect for Laravel developers who want to implement secure and scalable role-based access control (RBAC) in their applications. 🔔 Don't forget to Like, Subscribe, and Comment if this video helped you! #Laravel12 #Spatie #RolesAndPermissions #LaravelBreeze

Laravel 12 Multi Authentication with Guards 🔐

So I Tried Laravel

Top 3 Mistakes with Roles/Permissions in Laravel

Build Role Based Access Control (RBAC) System in Laravel 12 & Livewire (Spatie Permission Package)

Why I Quit Next.js for Laravel (After 3 Years)
![Learn Laravel from Scratch [FULL BOOTCAMP COURSE]](https://i.ytimg.com/vi/MOLZOXqaomM/hqdefault.jpg?sqp=-oaymwEjCNACELwBSFryq4qpAxUIARUAAAAAGAElAADIQj0AgKJDeAE=&rs=AOn4CLAeNZnt8W9qiSrGcqL0gPqpgLlkhg)
Learn Laravel from Scratch [FULL BOOTCAMP COURSE]

God Says:"TAKE THIS MESSAGE SERIOUSLY, BECAUSE ONLY YOU ARE SEEING IT"/God Message Now/God Message

Most Developers Design Permissions Wrong!

How to Manage User Roles and Permissions in Laravel 12

spatie/laravel-permission: WHEN to Use the Package for Roles?

Laravel Permissions by Spatie - Full Tutorial

Laravel 12 Spatie Roles and Permissions with Starter Kit 🔥

Laravel Roles/Permissions: Complex Multi-Clinic Project

Laravel Roles and Permissions: All CORE Things You Need To Know

The Right HTTP Status Code for Every Situation

Laravel 12 + Vue JS + Spatie Roles & Permissions

How to Boost Your Laravel App in Minutes

Simple Role-Based Access Control (RBAC) in Laravel – Quick & Easy Guide!

Your API Calls Are Probably Broken (Here's Why)

