larite / framework
A lightweight PHP MVC framework
Installs: 34
Dependents: 1
Suggesters: 0
Security: 0
Stars: 1
Watchers: 0
Forks: 0
Open Issues: 0
pkg:composer/larite/framework
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
$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)
π¦ 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