Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller architectural pattern and based on Symfony.

Laravel Syllabus (Beginner to Advanced)

1. Introduction to Laravel

  • What is Laravel
  • Features of Laravel
  • MVC Architecture
  • Laravel directory structure
  • Installing Laravel
  • Composer basics
  • Running Laravel project

2. PHP & OOP Prerequisites

  • PHP basics
  • Variables & data types
  • Functions
  • Arrays
  • Loops & conditions
  • Classes & Objects
  • Inheritance
  • Traits
  • Namespaces
  • Autoloading

3. Laravel Basics

  • Routes
  • Controllers
  • Views
  • Blade templating
  • Layouts & sections
  • Passing data to views
  • Helper functions

Practical

  • Create simple pages
  • Dynamic routing
  • Basic website structure

4. Blade Template Engine

  • Blade syntax
  • Components
  • Includes
  • Loops in Blade
  • Conditions in Blade
  • Custom Blade directives

Practical

  • Header/Footer templates
  • Dashboard UI

5. Database & Migration

  • Database configuration
  • Migrations
  • Schema Builder
  • Seeders
  • Factories

Practical

  • Create tables
  • Insert sample data

6. Eloquent ORM

  • Models
  • CRUD operations
  • Query Builder
  • Relationships
    • One to One
    • One to Many
    • Many to Many
  • Accessors & Mutators
  • Scopes

Practical

  • Blog system
  • Product management

7. Forms & Validation

  • Form handling
  • Request class
  • Validation rules
  • Custom validation
  • Error messages

Practical

  • Registration form
  • Contact form

8. Authentication & Authorization

  • Laravel Breeze
  • Laravel Jetstream
  • Login/Register
  • Password reset
  • Middleware
  • Roles & permissions

Practical

  • Admin panel login system

9. File Upload & Storage

  • Upload images/files
  • Storage system
  • Public/private files
  • Image validation

Practical

  • Profile image upload
  • PDF upload system

10. Middleware

  • What is middleware
  • Creating middleware
  • Route protection
  • Authentication middleware

Practical

  • Admin-only pages

11. Sessions & Cookies

  • Session handling
  • Flash messages
  • Cookies in Laravel

12. CRUD Project

  • Create
  • Read
  • Update
  • Delete

Practical Projects

  • Student Management System
  • Product Management System

13. Laravel APIs

  • REST API basics
  • API routes
  • JSON responses
  • API resources
  • Authentication using Sanctum

Practical

  • Mobile app API
  • Product API

14. Advanced Eloquent

  • Eager loading
  • Lazy loading
  • Pagination
  • Soft deletes
  • Events & observers

15. Queues & Jobs

  • Queue system
  • Sending emails in queue
  • Background jobs

16. Mail & Notifications

  • Sending emails
  • Mail templates
  • Notifications
  • SMS integration basics

17. Laravel Security

  • CSRF protection
  • SQL injection prevention
  • XSS protection
  • Authentication security

18. Caching & Performance

  • Route cache
  • Config cache
  • Query optimization
  • Redis basics

19. Laravel Package Development

  • Creating packages
  • Service providers
  • Publishing assets

20. Testing

  • PHPUnit basics
  • Feature testing
  • Unit testing

21. Deployment

  • Shared hosting deployment
  • VPS deployment
  • Environment variables
  • Apache/Nginx configuration
  • SSL setup

22. Git & Version Control

  • Git basics
  • GitHub workflow
  • Branching
  • Deployment using Git

23. Livewire / Inertia (Optional)

  • Livewire basics
  • Dynamic components
  • SPA concepts

24. Real-World Projects

Beginner

  • Todo App
  • Blog Website
  • Contact Form

Intermediate

  • Ecommerce Website
  • LMS System
  • Job Portal

Advanced

  • Multi-vendor Ecommerce
  • SaaS Application
  • REST API Backend

25. Laravel Ecosystem

  • Laravel Sanctum
  • Passport
  • Horizon
  • Telescope
  • Nova
  • Forge
  • Vapor

Recommended Learning Order

  1. PHP Basics
  2. OOP PHP
  3. Laravel Basics
  4. Blade
  5. Database & CRUD
  6. Authentication
  7. APIs
  8. Advanced Laravel
  9. Deployment
  10. Real-world Projects

Recommended Tools

  • VS Code
  • Composer
  • XAMPP/Laragon
  • MySQL
  • Postman
  • Git & GitHub

Recommended Laravel Versions

  • Laravel 10
  • Laravel 11

Laravel Syllabus