Laravel Training Workshop
2-Day Intensive Course for Beginners to Intermediate Level
About the Trainers:
The expert trainers for this course have decades of combined experience in software development and have been active contributors to the evolution of web technologies. Most notably, they were the driving force behind the creation of Asia's first blockchain property tokenization web application built on Laravel. With their profound understanding of Laravel, PHP, blockchain technology, and modern web application architecture, these veterans are well-equipped to provide actionable insights and hands-on experience to all participants.
Learning Outcomes
By the end of this 2-day training workshop, participants will:
- Gain an in-depth understanding of Laravel's ecosystem and architecture.
- Be able to set up a new Laravel project from scratch.
- Master the fundamental concepts like routing, controllers, views, and middleware.
- Learn about Laravel's Eloquent ORM for efficient database operations.
- Acquire skills to create and manage user authentication and authorization.
- Understand and implement web API development in Laravel.
- Develop hands-on experience with Laravel Mix for frontend asset compilation.
- Get an introduction to Laravel's deployment and performance optimization techniques.
- Have a comprehensive understanding of Laravel Blade templates.
- Gain familiarity with Laravel's built-in testing tools for quality assurance.
Prerequisites
Laravel being a PHP framework requires the following prerequisites (for a training program compressed into two days):
- Basic knowledge of PHP programming.
- Familiarity with HTML, CSS, and JavaScript.
- Understanding of basic web application architecture.
- A computer system with a text editor (VS Code, Sublime Text, or similar) and local server environment (like XAMPP or MAMP).
Outline
Day 1: Getting Started with Laravel
Session 1: Introduction and Installation
- Laravel ecosystem
- Installation and environment setup
- Composer and Laravel Installer
Session 2: Project Structure & Configuration
- Directory structure
- Environment files (.env)
- Configuration files
Session 3: Routing Basics
- Basic routing
- Route parameters
- Named routes
Session 4: Controllers and Middleware
- What are controllers?
- Resource controllers
- Middleware introduction and implementation
Session 5: Views and Blade Templates
- Creating views
- Blade template engine
- Layouts and inheritance
Session 6: Eloquent ORM
- Introduction to Eloquent ORM
- Model creation
- Basic database operations (CRUD)
Session 7: Assessment
- Group assessment with hands-on problem
- Discussion of solutions
- Alternate Solutions analysis
Day 2: Advanced Laravel Techniques
Session 1: User Authentication
- Built-in authentication
- Creating user login and registration
- Social authentication
Session 2: Authorization & Policies
- Authorization basics
- Creating and implementing policies
Session 3: Web APIs in Laravel
- RESTful APIs
- API authentication using Laravel Passport
Session 4: Laravel Mix and Frontend
- Introduction to Laravel Mix
- Compiling assets
- Versioning and cache busting
Session 5: Testing in Laravel
- Introduction to PHPUnit in Laravel
- Writing basic tests
- Feature and unit tests
Session 6: Deployment & Performance
- Deployment best practices
- Performance optimization tips
- Q&A and next steps
Session 7: Assessment
- Final Assessment with a group problem
- Analysis of solution
- Final Q&A
Note: Each session will be followed by a 15-minute break and will include hands-on exercises. After each day, there will be an optional 30-minute Q&A session for anyone with additional questions or who wants clarification on the day's topics.
Practical, connected learning
My wider training approach brings hands-on implementation and systems thinking together, connecting technology with real operational needs.