Laravel Fundamentals: From Zero to Your First App
Learn modern Laravel from scratch and ship your first database-backed web app.
What you'll learn
Scaffold a Laravel app and use routing, Blade, Eloquent models, migrations, validation, and authentication to build and deploy a working CRUD application.
Who it's for
Developers new to Laravel who know basic PHP.
Prerequisites
Basic PHP, HTML, and the command line.
A beginner-friendly, hands-on introduction to the Laravel framework — from installation to a deployed CRUD app.
Curriculum
- 1
Setting Up the Local Development Environment
4 min - 2
Installing Laravel and Exploring Directory Structure
3 min - 3
Understanding the .env File and Configuration
3 min - 4
The Laravel Application Lifecycle
4 min - 5
Initializing the Task Manager Project
3 min - 6
Defining Basic Web Routes
4 min - 7
Using Route Parameters
3 min - 8
Creating Your First Controller
3 min - 9
Returning Responses and Redirects
3 min - 10
Task Manager: Implementing the Task List Route
3 min - 11
Introduction to Blade Templating
3 min - 12
Using Blade Layouts and Sections
3 min - 13
Implementing Blade Partials
4 min - 14
Mastering Blade Directives for Loops and Conditionals
3 min - 15
Task Manager: Building the User Interface
3 min - 16
Understanding Database Migrations
3 min - 17
Working with Eloquent Models
3 min - 18
Performing Basic CRUD Operations
3 min - 19
Seeding the Database
3 min - 20
Task Manager: Displaying Real Database Records
3 min - 21
Capturing User Input from Forms
4 min - 22
Introduction to Laravel Validation
3 min - 23
Customizing Validation Error Messages
3 min - 24
Using Form Requests for Validation
3 min - 25
Introduction to Authentication
4 min - 26
Protecting Routes with Middleware
3 min - 27
Understanding CSRF Protection
3 min - 28
Preventing Mass Assignment
3 min - 29
Task Manager: Securing the Application
3 min - 30
Introduction to Route Model Binding
3 min - 31
Updating Existing Records
3 min - 32
Deleting Records
3 min - 33
Using Named Routes
3 min - 34
Task Manager: Completing CRUD Functionality
3 min - 35
Introduction to Database Relationships
3 min - 36
Querying Related Data
4 min - 37
Handling File Uploads
3 min - 38
Using Flash Messages for User Feedback
3 min - 39
Task Manager: Adding Status and Priorities
3 min - 40
Introduction to Artisan Commands
3 min - 41
Debugging with Laravel Tinker
3 min - 42
Understanding Service Providers
4 min - 43
Using View Composers
3 min - 44
Task Manager: Refactoring for Clean Code
3 min - 45
Introduction to Testing
3 min - 46
Testing Forms and Validation
3 min - 47
Using Database Transactions
3 min - 48
Handling Global Exceptions
3 min - 49
Preparing for Production
3 min - 50
Environment Security Best Practices
4 min - 51
Managing Assets in Production
3 min - 52
Task Manager: Deployment Preparation
3 min