About This Course
This intensive 2-day Laravel Crash Course is designed to provide participants with a practical, hands-on introduction to Laravel 12, one of the most popular PHP frameworks for modern web development. The course focuses on real-world application development, guiding attendees through building essential modules such as User and Role management from scratch.
Participants will start by setting up the development environment and exploring Laravel Breeze for authentication. They will then learn core Laravel concepts including routing, controllers, views, models, factories, seeders, pagination, and form handling. On the second day, the focus shifts to building a complete Role module, implementing many-to-many relationships, resourceful controllers, and basic authorization to secure application features.
By the end of the course, participants will have developed a functional mini-application demonstrating practical Laravel skills, giving them a solid foundation to build more complex applications independently.
Learning Outcomes
By the end of this 2-day Laravel Quick Start course, participants will be able to:
- Set up a Laravel development environment with PHP 8.2, Composer, Node.js, and Laravel Herd, and create a new Laravel 12 project.
- Implement authentication and basic user management using Laravel Breeze, including login, registration, profile management, and password reset.
- Build and manage routes, controllers, and views to create dynamic web pages and display database data effectively.
- Work with Eloquent models, factories, seeders, and pagination to retrieve, display, and generate data efficiently.
- Create a functional Role module with CRUD operations, using resource controllers and resourceful routing.
- Implement many-to-many relationships between Users and Roles, including syncing role assignments through the user edit page.
- Apply form validation and form requests to ensure clean and secure data input.
Develop a mini web application that demonstrates real-world Laravel concepts and lays the foundation for more complex applications.
Prerequisites
Must have a laptop (Windows/Mac/Linux) and have VS Code or a similar IDE installed. Basic computer literacy and understanding of web browsers/file systems are required.
Course Outline
Day 1 — Laravel Fundamentals & Users Module
Module 1 — Environment Setup
Objective: Prepare development environment Exercises:
- Install Laravel Herd
- Verify PHP 8.2+, Composer, Node.js & NPM
- Create a fresh Laravel 12 project
Module 2 — Installing Laravel Breeze
Objective: Explore authentication and layout Exercises:Install Laravel Breeze (Blade version)
- Compile assets with Vite
- Explore login, registration, logout, profile page, and password reset
- Navigate basic Breeze layout
Module 3 — Routing Basics
Objective: Understand how Laravel routes work Exercises:
- Create simple GET/POST routes
- Name routes
- Pass parameters in URLs (/users/{id})
- Create empty pages for testing
Module 4 — Controllers
Objective: Learn how to use controllers Exercises:
- Generate controllers
- Map routes to controller methods (index, create, store)
- Pass data from controller to Blade views
Module 5 — Models & Eloquent
Objective: Retrieve and display data Exercises:
- Explore User model
- Retrieve users using Eloquent queries (all(), find(), where(), paginate())
- Pass user data to Blade view
- Display user data in a table
Module 6 — Views
Objective: Build dynamic pages with Blade Exercises:
- Create layout files
- Use loops and conditionals to display data
- Create separate views for listing users
Module 7 — Factories, Tinker & Seeders
Objective: Generate large datasets for testing Exercises:
- Create User factory
- Generate users via Tinker
- Create and run Seeder to populate database
Module 8 — Pagination
Objective: Handle large datasets elegantly Exercises:
- Display paginated user list
- Optional: customize pagination appearance
Day 2 — Role Module & User Editing with Relationships
Module 1 — Creating Role Module
Objective: Scaffold full Role module Exercises:
- Generate Role model with -a flag
- Run migration & seeders
Module 2 — Resource Controllers & Routes
Objective: Learn resourceful routes and controller methods Exercises:
- Register Route::resource('roles', RoleController::class)
- Explore resource methods: index, create, store, edit, update, destroy
Module 3 — Role CRUD
Objective: Build forms and listing page for roles Exercises:
- Create Role form
- Save new roles to database
- Display list of roles with optional pagination
Module 4 — Form Request Classes
Objective: Apply validation best practices Exercises:
- Create Form Request for Role validation
- Move validation rules from controller to Form Request
Module 5 — Many-to-Many Relationships
Objective: Connect Users with Roles Exercises:
- Create pivot table role_user
- Define belongsToMany relationships in User and Role models
- Update User edit page to display roles as checkboxes
- Sync roles on user update ($user->roles()->sync([...]))
Module 6 — Edit User Page
Objective: Update user data with roles Exercises:
- Build edit form for users
- Add form validation
- Update user and role assignments in database
Upcoming Sessions
There are currently no scheduled sessions for this course.
We'll notify you when new sessions are scheduled
Your Instructor
Laravel Quick Start
This intensive 2-day Laravel Crash Course is designed to provide participants with a practical, hands-on introduction to Laravel 12, one of the most popular PHP frameworks for modern web development. The course focuses on real-world application development, guiding attendees through building essential modules such as User and Role management from scratch.
Participants will start by setting up the development environment and exploring Laravel Breeze for authentication. They will then learn core Laravel concepts including routing, controllers, views, models, factories, seeders, pagination, and form handling. On the second day, the focus shifts to building a complete Role module, implementing many-to-many relationships, resourceful controllers, and basic authorization to secure application features.
By the end of the course, participants will have developed a functional mini-application demonstrating practical Laravel skills, giving them a solid foundation to build more complex applications independently.
Learning Outcomes
By the end of this 2-day Laravel Quick Start course, participants will be able to:
- Set up a Laravel development environment with PHP 8.2, Composer, Node.js, and Laravel Herd, and create a new Laravel 12 project.
- Implement authentication and basic user management using Laravel Breeze, including login, registration, profile management, and password reset.
- Build and manage routes, controllers, and views to create dynamic web pages and display database data effectively.
- Work with Eloquent models, factories, seeders, and pagination to retrieve, display, and generate data efficiently.
- Create a functional Role module with CRUD operations, using resource controllers and resourceful routing.
- Implement many-to-many relationships between Users and Roles, including syncing role assignments through the user edit page.
- Apply form validation and form requests to ensure clean and secure data input.
Develop a mini web application that demonstrates real-world Laravel concepts and lays the foundation for more complex applications.
Prerequisites
Must have a laptop (Windows/Mac/Linux) and have VS Code or a similar IDE installed. Basic computer literacy and understanding of web browsers/file systems are required.
Course Outline
Day 1 — Laravel Fundamentals & Users Module
Module 1 — Environment Setup
Objective: Prepare development environment Exercises:
- Install Laravel Herd
- Verify PHP 8.2+, Composer, Node.js & NPM
- Create a fresh Laravel 12 project
Module 2 — Installing Laravel Breeze
Objective: Explore authentication and layout Exercises:Install Laravel Breeze (Blade version)
- Compile assets with Vite
- Explore login, registration, logout, profile page, and password reset
- Navigate basic Breeze layout
Module 3 — Routing Basics
Objective: Understand how Laravel routes work Exercises:
- Create simple GET/POST routes
- Name routes
- Pass parameters in URLs (/users/{id})
- Create empty pages for testing
Module 4 — Controllers
Objective: Learn how to use controllers Exercises:
- Generate controllers
- Map routes to controller methods (index, create, store)
- Pass data from controller to Blade views
Module 5 — Models & Eloquent
Objective: Retrieve and display data Exercises:
- Explore User model
- Retrieve users using Eloquent queries (all(), find(), where(), paginate())
- Pass user data to Blade view
- Display user data in a table
Module 6 — Views
Objective: Build dynamic pages with Blade Exercises:
- Create layout files
- Use loops and conditionals to display data
- Create separate views for listing users
Module 7 — Factories, Tinker & Seeders
Objective: Generate large datasets for testing Exercises:
- Create User factory
- Generate users via Tinker
- Create and run Seeder to populate database
Module 8 — Pagination
Objective: Handle large datasets elegantly Exercises:
- Display paginated user list
- Optional: customize pagination appearance
Day 2 — Role Module & User Editing with Relationships
Module 1 — Creating Role Module
Objective: Scaffold full Role module Exercises:
- Generate Role model with -a flag
- Run migration & seeders
Module 2 — Resource Controllers & Routes
Objective: Learn resourceful routes and controller methods Exercises:
- Register Route::resource('roles', RoleController::class)
- Explore resource methods: index, create, store, edit, update, destroy
Module 3 — Role CRUD
Objective: Build forms and listing page for roles Exercises:
- Create Role form
- Save new roles to database
- Display list of roles with optional pagination
Module 4 — Form Request Classes
Objective: Apply validation best practices Exercises:
- Create Form Request for Role validation
- Move validation rules from controller to Form Request
Module 5 — Many-to-Many Relationships
Objective: Connect Users with Roles Exercises:
- Create pivot table role_user
- Define belongsToMany relationships in User and Role models
- Update User edit page to display roles as checkboxes
- Sync roles on user update ($user->roles()->sync([...]))
Module 6 — Edit User Page
Objective: Update user data with roles Exercises:
- Build edit form for users
- Add form validation
- Update user and role assignments in database
Upcoming Sessions
There are currently no scheduled sessions for this course.
We'll notify you when new sessions are scheduled
Course Information
Your Instructor
Khairil-Iszuddin bin Ismail
Professional Experience