larite / framework
A lightweight PHP MVC framework
v6.1.2
2025-09-18 07:33 UTC
Requires
- php: >=8.3
- composer/installers: ^2.3
- filp/whoops: ^2.18
- symfony/console: ^7.2
- vlucas/phpdotenv: ^5.6.2
README
Larite Framework
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.
π Features
- MVC Structure β clear separation of models, views, and controllers
- Routing System β expressive, Laravel-style routing
- Middleware Support β handle requests with
$request
and$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)
π¦ Installation
The framework itself is installed automatically when creating a new Larite project.
To start a new project:
composer create-project larite/larite my-app