An open API service indexing awesome lists of open source software.

https://github.com/ch-kashif171/larite-framework

The core of the Larite PHP MVC framework inspired by Laravel, designed for speed, clarity, and extensibility.
https://github.com/ch-kashif171/larite-framework

framework larite mvc php php-framework php8

Last synced: 7 months ago
JSON representation

The core of the Larite PHP MVC framework inspired by Laravel, designed for speed, clarity, and extensibility.

Awesome Lists containing this project

README

          


Larite Logo

# 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:

```bash
composer create-project larite/larite my-app