Post Details

Laravel syllabus
18 Jan

Laravel syllabus

Module 1: Introduction to Laravel

  • Overview of Laravel Framework
  • Advantages of Using Laravel
  • Installation & Setup
    • Composer
    • Laravel Installer
    • Setting Up a Local Development Environment
  • Understanding MVC Architecture
  • Laravel Directory Structure

Module 2: Routing and Middleware

  • Introduction to Laravel Routing
  • Defining Routes
  • Route Parameters (Required and Optional)
  • Named Routes
  • Route Groups and Prefixing
  • Route Model Binding
  • Middleware:
    • Creating Middleware
    • Applying Middleware (Global, Group, Route-specific)
    • Middleware Parameters

Module 3: Controllers

  • Creating Controllers
  • Resource Controllers
  • Single-Action Controllers
  • Route Controller Binding
  • Controller Middleware
  • Using Invokable Controllers

Module 4: Blade Templating Engine

  • Introduction to Blade
  • Blade Syntax (Variables, Loops, Conditionals)
  • Blade Components
  • Layouts and Section Management
  • Blade Directives (@if, @foreach, @include, etc.)
  • Extending Blade Templates

Module 5: Database and Eloquent ORM

  • Laravel Database Configuration
  • Migrations:
    • Creating and Running Migrations
    • Modifying Existing Migrations
    • Database Schema Builder
  • Eloquent ORM:
    • Models and Relationships
    • CRUD Operations
    • Query Scopes
    • Accessors and Mutators
    • Soft Deletes and Timestamps
  • Query Builder

Module 6: Forms and Validation

  • Creating and Handling Forms
  • Form Validation
    • Built-in Validation Rules
    • Custom Validation Rules
  • Displaying Validation Errors
  • Old Input Data and Flash Messages

Module 7: Authentication and Authorization

  • Laravel Breeze, Fortify, and Jetstream
  • Authentication:
    • Register, Login, Password Reset
  • Authorization:
    • Gates and Policies
    • Role-Based Access Control (RBAC)
  • Email Verification
  • Protecting Routes

Module 8: APIs and AJAX

  • RESTful APIs:
    • Creating API Endpoints
    • API Authentication using Sanctum or Passport
  • JSON Responses
  • API Resource Classes
  • Consuming APIs with AJAX
  • Error Handling in APIs

Module 9: File Handling and Storage

  • File Uploads:
    • Validating and Storing Uploaded Files
  • File Downloads
  • Laravel Storage Facade
  • Local and Cloud File Storage (AWS S3, etc.)

Module 10: Testing

  • Introduction to Testing in Laravel
  • Unit Testing
  • Feature Testing
  • Mocking and Faking
  • Testing with PHPUnit and Dusk

Module 11: Advanced Laravel Features

  • Event and Listener System
  • Job Queues and Background Tasks
    • Using Laravel Horizon
  • Task Scheduling
  • Broadcasting and Real-Time Events
    • Using Laravel Echo and Pusher
  • Caching
    • Cache Drivers
    • Cache Management
  • Laravel Localization and Internationalization (i18n)

Module 12: Deployment and Optimization

  • Preparing Laravel Application for Deployment
  • Deployment on Shared Hosting, VPS, or Cloud (AWS, DigitalOcean, etc.)
  • Using Laravel Forge
  • Caching Configurations (Routes, Views, Configurations)
  • Debugging and Error Handling
  • Performance Optimization
    • Database Optimization
    • Query Optimization
    • Using Redis or Memcached

Optional Topics (For Mastery)

  • Package Development in Laravel
  • Multitenancy in Laravel
  • Working with Laravel Livewire
  • Advanced Eloquent Techniques
  • Creating Custom Artisan Commands

Recommended Prerequisites

  • Basic knowledge of PHP and OOP
  • Understanding of HTML, CSS, and JavaScript
  • Familiarity with databases (MySQL/PostgreSQL)

0 Comments

Leave a Comment