In this tutorial, I will show you how to create a Laravel 12 CRUD application by developing a complete system with a step-by-step guide.
CRUD stands for Create, Read, Update, and Delete — the four basic operations used in managing data in persistent storage.
I will create a simple products table and store product details in five columns: code (VARCHAR), name (VARCHAR), quantity (INT), price (DECIMAL), and description (TEXT).
In this tutorial, we will learn about Laravel 11 Spatie user roles and permissions from scratch.
We will learn how to install Laravel 11, Spatie Laravel permission package and create CRUD for roles, users and products. We will also learn how to assign permissions to roles and attaching roles to users.
This tutorial will teach you how to use roles and permissions to protect routes in Laravel app. Protecting routes is very essential in any application development.