Professional training course on PHP and Laravel, aimed at developers with experience in web application development who want to learn how to design and build structured, maintainable Laravel applications, or to consolidate the knowledge of a team that already uses the framework.
The course is available in Italian or English, in person in Turin or remotely.
Participants need good programming skills, basic knowledge of PHP, and a computer with Docker installed.
The planned modules, each lasting half a day (4 hours), are as follows:
- Modern PHP refresher (optional)
- Type declarations for parameters, properties, and return values;
- Enums;
readonlyproperties and classes;- Named arguments;
matchexpression;- Attributes;
- Composer, autoloading, and PSR standards;
- Introduction to Laravel
- Structure of a Laravel project;
- Development environment with Docker and Laravel Sail;
- Configuration and environment variables;
- Artisan;
- Service Container and Service Providers;
- Routing and Controllers
- Routes and route groups;
- Middleware;
- Controllers;
- Form Requests and input validation;
- API Resources;
- Eloquent (part one)
- Migrations;
- Models;
- Query Builder;
- Relationships;
- Eloquent (part two)
- Eager loading and the N+1 problem;
- Scopes and casts;
- Factories and seeders;
- Transactions;
- Application architecture
- Thin controllers;
- Actions: one class for each business operation;
- DTOs with Laravel Data;
- Events and listeners;
- Handling domain errors;
- Authentication and authorization
- Authentication with Fortify and Sanctum;
- Policies and Gates;
- Two-factor authentication;
- Queues, jobs, and scheduling
- Queues and jobs;
- Failure handling and retries;
- Task Scheduling;
- Notifications and sending emails;
- APIs and frontend
- REST APIs and OpenAPI documentation;
- Inertia with React;
- Generating TypeScript types from DTOs;
- Testing
- Feature tests and unit tests with Pest;
- Test database;
- Fakes for queues, events, emails, and external services;
The modules include exercises to put the topics covered into practice.