← All projectsProject 02 / 03
Potager
A PHP MVC framework built from scratch, to understand what Laravel or Symfony do under the hood. A study project.

- Role
- Design and development
- Stack
- PHP 8.1 · Latte · Pest · VitePress
- Licence
- MIT
- Links
- GitHub ↗
The project
Potager started with a simple question: what really happens between the request and the response? Rather than reading about it in a framework’s documentation, I built one, piece by piece.
It has a router, a dependency injection container, a home-made ORM described with PHP attributes, Latte views, sessions and a mailer. Some pieces grew enough to live on their own, like Grape, the validation library.
Learning project, work in progress.
Features
- 01Router: GET, POST, PUT, PATCH and DELETE routes to controllers
- 02Limpid, an ORM whose models are described with PHP attributes, with hooks and a query builder
- 03Latte views, sessions, .env configuration and an SMTP mailer
- 04Grape, the data validation layer, now a library in its own right
Next project — 03 / 03
Grape