Laravel & Modern PHP
Build production web apps and REST APIs fast with Laravel: routing, Blade templates, migrations, Eloquent ORM, validation, Sanctum auth, middleware, queues, and deployment.
What you'll build & master
- ✓ Architect clean MVC web apps with Laravel routes, controllers, and Blade components
- ✓ Design relational schemas with migrations, factories, and Eloquent relationships without N+1 bugs
- ✓ Protect forms and APIs using Form Requests, CSRF tokens, Policies, and Laravel Sanctum
- ✓ Ship fast production Laravel apps with queues, API Resources, and Artisan caching
Course Syllabus
Core Laravel
- 18 min
Laravel Architecture, MVC & Artisan CLI
Understand Laravel's request lifecycle, folder layout, Composer autoloading, and the Artisan CLI.
- 28 min
Routing, Route Model Binding & Controllers
Define clean RESTful routes, group middleware, and inject Eloquent models automatically via Route Model Binding.
- 38 min
Blade Templates, Layouts & Reusable Components
Build clean, XSS-safe server-rendered UIs using Blade directives, slots, and anonymous components.
Database & Eloquent
- 18 min
Database Migrations, Factories & Seeders
Version-control your SQL schema with migrations and populate realistic test datasets using Model Factories.
- 28 min
Eloquent ORM CRUD, Mass Assignment & Scopes
Query, create, update, and filter records cleanly with Eloquent while preventing mass-assignment bugs.
- 38 min
Eloquent Relationships & Fixing N+1 Queries
Model `hasMany`, `belongsTo`, and `belongsToMany` relations and eliminate N+1 bottlenecks with eager loading.
Security & APIs
- 18 min
Validation, Form Requests & Error Handling
Keep controllers razor-thin by moving validation rules and authorization into dedicated Form Request classes.
- 28 min
Authentication, Middleware & Authorization Policies
Secure routes with middleware and enforce per-record ownership using Laravel Policies and Gates.
- 38 min
Building REST APIs with Resources & Sanctum
Shape predictable JSON responses with API Resources and issue scoped bearer tokens with Laravel Sanctum.
Production Laravel
- 18 min
Queues, Background Jobs & Scheduled Tasks
Offload slow work like emails, webhooks, and PDF rendering to background queue workers.
- 28 min
Feature Testing with RefreshDatabase
Write fast automated HTTP and database tests that catch regressions before you ever deploy.
- 38 min
Production Deployment, Config Caching & Security
Harden `.env`, warm Artisan caches, configure Nginx + PHP-FPM, and deploy Laravel safely.