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.
Installing Laravel and Exploring Directory Structure
The Laravel Application Lifecycle
Initializing the Task Manager Project
Defining Basic Web Routes
Using Route Parameters
Creating Your First Controller
Returning Responses and Redirects
Task Manager: Implementing the Task List Route
Introduction to Blade Templating
Using Blade Layouts and Sections
Implementing Blade Partials
Mastering Blade Directives for Loops and Conditionals
Task Manager: Building the User Interface
Understanding Database Migrations
Working with Eloquent Models
Performing Basic CRUD Operations
Seeding the Database
Task Manager: Displaying Real Database Records
Capturing User Input from Forms
Introduction to Laravel Validation
Customizing Validation Error Messages
Using Form Requests for Validation
Introduction to Authentication
Protecting Routes with Middleware
Understanding CSRF Protection
Preventing Mass Assignment
Task Manager: Securing the Application
Introduction to Route Model Binding
Updating Existing Records
Deleting Records
Using Named Routes
Task Manager: Completing CRUD Functionality
Introduction to Database Relationships
Querying Related Data
Handling File Uploads
Using Flash Messages for User Feedback
Task Manager: Adding Status and Priorities
Introduction to Artisan Commands
Debugging with Laravel Tinker
Understanding Service Providers
Using View Composers
Task Manager: Refactoring for Clean Code
Introduction to Testing
Testing Forms and Validation
Using Database Transactions
Handling Global Exceptions
Preparing for Production
Environment Security Best Practices
Managing Assets in Production
Task Manager: Deployment Preparation