Intermediate
Build a CRM with Laravel 12
Build a Laravel 12 CRM with teams, contacts, companies, deals and tasks. Run a REST API, issue Sanctum tokens and monitor Redis jobs with Horizon.

Chapters 23
- Introduction & Series Overview
- Setting Up Laravel 12 Project
- Laravel 12 Fundamentals & Project Structure
- Planning Application Architecture & Data Modeling
- Database Migrations & Schema Design
- Eloquent Models & Relationships
- User Authentication with React Starter Kit
- Team Management & User Roles
- Authorization & Access Control
- Layout and UI Design Customization
- Contacts Module - Database & Model
- Contacts Module - CRUD Operations
- Companies Module - Database & Model
- Companies Module - CRUD Operations
- Deals Module - Database & Pipeline Design
- Deals Module - CRUD & Pipeline Interface
- Tasks Module - Database & Model
- Tasks Module - CRUD & Task Scheduling
- Notifications & Email Integration
- REST API for CRM Contacts
- API Authentication with Sanctum
- Queues and Background Jobs
- Queue Monitoring with Horizon
Build a customer relationship management application with Laravel 12, React and Inertia. The main project covers setup, team permissions, contacts, companies, deals, tasks and notifications. A separate runnable lab takes one feature through an authenticated REST API, a background export and a monitored Redis queue.
Where to start
Section titled “Where to start”- New to Laravel? Start with the project overview and the Laravel Sail setup.
- Building a contact API or learning Sanctum? Jump to the Laravel 12 contacts API lab. It runs in a separate Laravel 12 app with SQLite and no frontend setup.
- Want to run a queue worker? Start with background jobs, then use Horizon to watch the job run on Redis.
You should be comfortable with PHP classes, the command line and the basics of HTTP and SQL. For the main project, use the PHP, Composer, Node.js and Docker setup in chapter 02. PHP Basics covers the language if you need to build those foundations first.
Available chapters
Section titled “Available chapters”Setup and application foundations
Section titled “Setup and application foundations”- Introduction and project overview
- Set up the Laravel 12 development environment
- Laravel fundamentals and project structure
- Plan the application architecture and data model
- Database migrations and schema design
- Eloquent models and relationships
- User authentication with the React starter kit
- Team management and user roles
- Authorization and access control
- Layout and interface design
CRM modules
Section titled “CRM modules”- Model contacts in the database
- Create, read, update and delete contacts
- Model companies in the database
- Create, read, update and delete companies
- Design the deals pipeline
- Build the deals pipeline interface
- Model tasks in the database
- Build the tasks module and scheduling
- Notifications and email integration
API and queue labs
Section titled “API and queue labs”Each lab uses the same example project. The links retain their original chapter numbers.
- 20 · Build a Laravel 12 REST API for contacts
- 21 · Authenticate an API with Laravel Sanctum tokens
- 29 · Export contacts with a background job
- 30 · Monitor Redis queues with Laravel Horizon