larite/framework

A lightweight PHP MVC framework

v6.1.2 2025-09-18 07:33 UTC

This package is auto-updated.

Last update: 2025-09-18 07:34:44 UTC


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:

composer create-project larite/larite my-app