The Larite Framework is the core of the Larite PHP MVC ecosystem a lightweight, expressive, and modern PHP framework inspired by Laravel’s elegance and simplicity. It provides all the essential building blocks to create robust web applications with clean architecture.
- MVC Structure — clear separation of models, views, and controllers
- Routing System — expressive, Laravel-style routing
- Middleware Support — handle requests with
$requestand$next - Eloquent-like ORM — relationships (
hasOne,hasMany,belongsTo) included - Migrations & Seeders — database versioning made easy
- CLI Generator — scaffold controllers, models, migrations, and more
- CSRF Protection — built-in request security
- Custom Helpers — utility functions for sessions, validation, and routing
- Lightweight Core — fast and optimized for modern PHP (>=8.3)
The framework itself is installed automatically when creating a new Larite project.
To start a new project:
composer create-project larite/larite my-app