Courses

Learn Laravel

17 lessons · 0 completed

Start
0%
  1. 1 Laravel Environment & First Steps: The Foundation The "Why" Before the "How": Why Laravel?Setting Up Your Ecosystem: Composer, PHP, and Sail/ValetYour First Application: "Hello Laravel"Understanding the Directory Structure (Conceptually!)
  2. 2 Routing & Responses: The Traffic Director Basic Routing: Handling GET and POST RequestsDynamic Paths: Route Parameters and WildcardsOrganization is Key: Named Routes and Route GroupsSending Stuff Back: Views, JSON, and Redirects
  3. 3 Blade Templating Engine: Crafting the UI Introduction to Blade: Syntax and Directives (if, foreach)Master Layouts: Keeping Your Design DRYPassing Data to Views: Bringing UI to LifeBlade Components and Slots: Reusable UI Chunks
  4. 4 Controllers: The Brains of the Operation Creating and Routing to ControllersThe HTTP Request Object: Capturing User InputSingle Action Controllers: Keeping It Simple (Invokable)Basic Form Validation & Error Handling
  5. 5 Database & Migrations: Building Your Data Structure Configuring Database Connections (.env secrets)Migrations: Version Control for Your DatabaseModifying Existing Tables & Rolling Back ChangesSeeding and Factories: Populating Fake Data for Development
  6. 6 Eloquent ORM Basics: Talking to Your Database Creating Models & Understanding Naming ConventionsThe CRUD Operations: Create, Read, Update, DeleteSecurity First: Mass Assignment and Fillable PropertiesBasic Query Builder vs. Eloquent Methods
  7. 7 Eloquent Relationships: Connecting the Dots One-to-One and One-to-Many RelationshipsMany-to-Many Relationships & Pivot TablesEager Loading: Slaying the N+1 Query MonsterQuerying Relationship Existence (has/whereHas)
  8. 8 Authentication & Security: Guarding the Gates Scaffolding Auth Fast: Introducing Laravel BreezeProtecting Routes with the Auth MiddlewareAccessing the Authenticated User DataPassword Hashing and CSRF Protection (Under the Hood)
  9. 9 Authorization: Who Can Do What? Gates: Simple Closure-Based PermissionsPolicies: Organizing Authorization Around ModelsAuthorizing Actions in Controllers and Blade Views
  10. 10 Advanced Validation & Form Requests: Keeping Data Clean Extracting Logic: Creating Custom Form Request ClassesWriting Complex Validation Rules (Unique, Exists, Regex)Customizing Error Messages and AttributesHandling Authorization within Form Requests
  11. 11 Middleware & Sessions: Managing the Request Flow Understanding the Middleware PipelineCreating and Registering Custom MiddlewareSession Basics: Storing and Retrieving User StateFlash Data: One-Time Messages for the User
  12. 12 File Storage & Uploads: Handling Assets Understanding the Storage Facade (Local vs. Public Disks)Processing File Uploads from HTML Forms safelyGenerating URLs for Uploaded FilesDeleting and Managing Existing Files
  13. 13 Mail & Notifications: Talking to Users Configuring Mail Services (SMTP & Mailpit for local dev)Creating Mailable Classes and Markdown Email TemplatesIntroduction to Laravel Notifications (Mail & Database)Displaying Database Notifications in the UI
  14. 14 Queues & Background Jobs: Heavy Lifting Off-Screen Why Use Queues? Understanding Background ProcessingCreating and Dispatching Job ClassesRunning the Queue Worker & Handling Failed Jobs
  15. 15 Building APIs with Laravel: Serving the World API Routing and Returning JSON ResponsesEloquent API Resources: Formatting Your Data BeautifullyAPI Authentication with Laravel SanctumRate Limiting and Standardizing API Error Handling
  16. 16 Testing: Shipping Code with Confidence Testing Fundamentals: PHPUnit vs Pest PHPFeature Tests: Simulating User Interactions (HTTP Tests)Database Testing: The RefreshDatabase TraitUnit Testing Models and Custom Classes
  17. 17 Deployment & Optimization: Going Live! Preparing for Production: Environment Variables & CachingTask Scheduling: Replacing Cron Jobs with LaravelDeployment Basics: Overview of Forge & Server Requirements