About the course
Laravel stands out as one of the most popular and elegant PHP frameworks, designed to make building modern, robust web applications a quick and enjoyable experience. Packed with a wide array of built-in tools and features, it provides a structured and efficient approach to web development. This training course is specifically designed for PHP developers who are new to Laravel and eager to leverage its power to build sophisticated and scalable applications.
The course provides a practical introduction, starting with setting up your local development environment using the recommended Laravel Sail and understanding the framework's basic structure and the crucial request lifecycle. You will quickly move into the core components like defining Routes, creating Controllers, implementing Middleware, handling HTTP Requests and Responses, and using the powerful Blade templating engine. Comprehensive coverage is given to working efficiently with databases using Eloquent ORM, including migrations, seeding, factories, and defining relationships.
Key features like implementing user Authentication and Authorization (using Policies), handling time-consuming tasks asynchronously with Events, Jobs, and Queues, sending Mail and Notifications, and using the Artisan console are also covered. You will learn about the IoC Container and Service Providers, building simple APIs, and essential practices for application maintenance and testing fundamentals. Through hands-on exercises, you will gain a solid understanding of Laravel's most popular and essential fundamentals, enabling you to build and maintain your own web applications with confidence.
Instructor-led online and in-house face-to-face options are available - as part of a wider customised training programme, or as a standalone workshop, on-site at your offices or at one of many flexible meeting spaces in the UK and around the World.
-
- Set up a Laravel development environment using Laravel Sail.
- Explain the basic structure and request lifecycle of a Laravel application.
- Implement routing, controllers, and middleware for handling web requests.
- Build dynamic web pages using Blade templating.
- Work effectively with databases using Eloquent ORM, Migrations, and Seeders.
- Implement user authentication and authorization (Policies).
- Understand the role of the IoC Container and use Service Providers (basics).
- Build simple APIs using Laravel.
- Implement asynchronous tasks using Events, Jobs, and Queues.
- Send email and notifications from a Laravel application.
- Use Artisan console commands for common tasks.
- Understand the basics of testing in Laravel.
-
This course is designed for PHP developers who are new to the Laravel framework and want to learn how to build modern web applications using its features. It is particularly suitable for:
PHP developers looking to adopt a popular, well-structured framework.
Developers wanting to learn rapid web application development techniques.
Backend developers interested in building robust web applications and APIs with PHP.
Anyone with working knowledge of PHP seeking structured and efficient web development practices.
-
Participants should have attended our Intro to PHP course or have equivalent experience:
Working knowledge of the PHP programming language (variables, data types, functions, basic object-oriented concepts).
Basic understanding of web concepts (HTTP, HTML forms).
Familiarity with command line or terminal interface.
No prior experience with Laravel or Docker is required, as these will be covered in the course.
We can customise the training to match your team's experience and needs - with more time and coverage of PHP fundamentals for new developers, or a swifter pace for experienced coders.
-
This Laravel course is available for private / custom delivery for your team - as an in-house face-to-face workshop at your location of choice, or as online instructor-led training via MS Teams (or your own preferred platform).
Get in touch to find out how we can deliver tailored training which focuses on your project requirements and learning goals.
-
Laravel Introduction and Setup
Introduction to Laravel: What it is and why use it?
The Laravel ecosystem and community
Setting up your Local Development Environment:
What is Docker and why use Sail?
Installing Docker and Sail
Starting and stopping the development environment
Installing Laravel via Composer
Laravel Application Structure and Key Directories
Understanding the Request Lifecycle: How Laravel handles a web request
Debugging techniques in Laravel
The Core Basics (Routing, Controllers, Middleware, Views)
Web Routing: Defining application URLs and handling requests
Controllers: Organising application logic
Middleware: Inspecting and filtering requests (e.g., authentication checks, CSRF protection)
HTTP Requests: Accessing user input and request data
HTTP Responses: Returning data to the user (views, JSON, redirects)
Blade Templating:
Blade syntax and features (displaying data, control structures)
Template inheritance and layouts
Includes and components
Forms and Handling User Input securely (CSRF protection, validation basics)
Working with Databases (Eloquent ORM)
Database Configuration in Laravel
Migrations: Managing database schema versions
Seeders: Populating databases with initial or test data
Factories: Generating realistic fake data for testing and seeding
Eloquent Models:
Defining models to interact with database tables
Eloquent Relationships (one-to-one, one-to-many, many-to-many)
Eloquent Collections: Working with result sets
Mutators and Accessors: Customising model attribute retrieval and storage (basics)
Pagination: Displaying large datasets
Authentication and Authorization
Built-in Authentication Scaffolding: Quickly setting up login, registration, password reset
Manually authenticating users (if needed, brief overview)
Authorization: Policies - Defining user permissions for resources
The IoC Container and Service Providers
What is the Inversion of Control (IoC) Container? (Conceptual understanding)
Dependency Injection: How the container helps manage dependencies
Service Providers: Registering services and binding to the container (basic examples)
Working with APIs
Building Simple APIs with Laravel:
API Routing: Defining routes for API endpoints
Laravel Sanctum: Simple API authentication for SPAs and mobile applications
(Optional: Introduction to API Resources for transforming model data for API output)
Events, Jobs, and Queues (Asynchronous Processing)
Events and Listeners: Decoupling application concerns by reacting to events
Jobs and Queues: Handling time-consuming tasks outside the web request cycle
Running the Queue Worker
Mail and Notifications
Sending Notifications (various channels: database, mail, SMS - via packages)
Sending Email (using Mailables)
Console Commands (Artisan)
Introduction to Artisan Console Commands
Creating Custom Artisan Commands (Simple example)
Managing and Maintaining Fundamentals
Caching: Improving application performance
Logging: Understanding and using Laravel's logging capabilities
Scheduling Tasks: Running recurring jobs (Cron jobs in Laravel)
File Storage: Working with local and cloud storage
Testing Fundamentals
Introduction to Automated Testing in Laravel
Writing Basic Unit Tests
Writing Basic Feature Tests
Extras (Time Permitting / Further Exploration)
Signed URLs
Helpful Packages (Brief overview of popular community packages)
Broadcasting (Real-time features - brief introduction)
-
Official Laravel Documentation - https://laravel.com/docs/
Laravel API Reference - https://api.laravel.com/docs/12.x/index.html
Laravel News (Tutorials, articles, news) - https://laravel-news.com/
Laravel Sail Documentation - https://laravel.com/docs/sail
Eloquent Documentation - https://laravel.com/docs/eloquent
Blade Documentation - https://laravel.com/docs/blade
Trusted by