Welcome
![]() | ![]() |
Step-by-Step Introduction to the [Laravel] Web Framework
created by Anthropic’s AI Claude at the request of Serge Tahé - September 2026
This document is a translation of the original French version, generated using an automated tool. Some expressions or technical terms may not fully reflect the original meaning.
This course shows, step by step, how to build an MVC web application with the Laravel 13 framework and PHP 8.4. The HTML pages are generated by the server with Blade views, with no JavaScript framework in the browser.
It has two parts. First come 28 small examples, each focused on a single concept: routes, controllers, responses, redirects and the service container; binding and validating request parameters, form requests (FormRequest); Blade views, layout and components, forms, the Post / Redirect / Get pattern and CSRF protection; internationalization; data scopes (request, session, cache, cookies); the request life cycle with middleware and exception handlers; JWT authentication in a cookie, guards, roles, captcha and rate limiting; and finally a layered web / business / DAO architecture with the Eloquent ORM and MySQL.
Then comes a complete case study, RdvMedecins: an appointment-booking application for a medical practice, with three roles (administrator, doctors, patients), available in French and English, in which every file is commented.
Prerequisites: the basics of web programming (HTTP, HTML) and of the PHP language (variables, arrays, functions, classes). The tools used are PHP 8.4, Composer 2, MySQL or MariaDB, Visual Studio Code and curl.
This course belongs to a series that covers the same 28 examples, number by number, with other frameworks: NestJS, ASP.NET Core MVC, Spring MVC, Flask, Symfony and Django. The frameworks can thus be compared example by example, but this course can be read on its own.

