PHPackages                             mhvefgh/microlite - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. mhvefgh/microlite

ActiveProject[API Development](/categories/api)

mhvefgh/microlite
=================

A modern, lightweight, PSR-15 compliant PHP microframework with zero bloat.

v1.0.3(5mo ago)01MITPHPPHP &gt;=8.1

Since Oct 29Pushed 5mo agoCompare

[ Source](https://github.com/mhvefgh/microlite)[ Packagist](https://packagist.org/packages/mhvefgh/microlite)[ Docs](https://github.com/mhvefgh/microlite)[ RSS](/packages/mhvefgh-microlite/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (4)Dependencies (11)Versions (5)Used By (0)

 [![Microlite Logo](assets/logo_micro.png)](assets/logo_micro.png)Microlite
=========

[](#microlite)

**A fast, lightweight, modern PHP microframework inspired by Laravel — fully PSR-15 compliant.**

Build APIs, microservices, or small apps with zero bloat. Simple, speedy, and scalable.

---

About
=====

[](#about)

**Microlite is a modern, ultra-lightweight PHP microframework built for developers who want simplicity, speed, and complete control over their application architecture. Designed for projects where a full-stack framework is unnecessary or too heavy, Microlite provides the essential tools you need — and nothing you don’t.**

**Inspired by the elegance and developer-friendly structure of Laravel, Microlite offers a familiar and intuitive workflow without requiring you to learn a new ecosystem. If you enjoy the Laravel style but need something significantly smaller and faster, Microlite is the perfect fit.**

**Fully PSR-15 compliant, minimal by design, and highly flexible, Microlite allows you to extend or customize every layer. Whether you're building micro-services, APIs, or small high-performance applications, Microlite keeps your stack clean and efficient.**

**Contributions are welcome — feel free to star the project, open issues, or submit PRs! 🚀**

[![PHP >= 8.1](https://camo.githubusercontent.com/35a3bdb1bce06d7a3dbf9e85884c3825a7ae0a352825e3e64ecc741b9d690087/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344382e312d3838393242462e7376673f7374796c653d666c61742d737175617265)](https://php.net)[![License: MIT](https://camo.githubusercontent.com/942e017bf0672002dd32a857c95d66f28c5900ab541838c6c664442516309c8a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d626c75652e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist](https://camo.githubusercontent.com/070273291c912a1b9f92a78bf375dc6c2d2734bc50de236d94efde84fd4e7cb3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6876656667682f6d6963726f6c6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhvefgh/microlite)[![Tests](https://camo.githubusercontent.com/0e44755a3dd07133c01f646b8abdc4226adacb59f80b3b00bbc056299e89461f/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f74657374732d31303025323525323070617373696e672d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](#testing)[![Downloads](https://camo.githubusercontent.com/42d7f8a31c3ae89b01000c497f25c6062d91c957eaeb3dce41acbba97e214a61/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6876656667682f6d6963726f6c6974652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhvefgh/microlite)

---

Why Microlite?
--------------

[](#why-microlite)

FeatureMicroliteLaravelSlimSize~50KB~10MB+~100KBSpeedUltra-fastMediumFastLearning CurveLaravel-likeHighLowDependenciesZero bloatManyMinimalBest ForAPIs &amp; MicroservicesFull appsAPIsPerfect when you love Laravel's style but hate the overhead.

---

Features
--------

[](#features)

- **Zero Bloat** — Only what you need
- **FastRoute** — Blazing fast routing
- **Medoo ORM** — Lightweight database layer
- **PSR-15 Middleware** — Full stack support
- **.env Config** — Simple environment management
- **CLI Tools** — Symfony Console commands
- **PHP Views** — With helpers (`view()`, `e()`, `auth()`)
- **Session Auth** — Built-in authentication helper
- **Testing Ready** — PHPUnit + examples

---

Installation
------------

[](#installation)

```
composer create-project mhvefgh/microlite my-app
cd my-app
cp .env.example .env
php -S localhost:8000 -t public
```

Open →

---

Quick Start
-----------

[](#quick-start)

### 1. Routes (`routes/web.php`)

[](#1-routes-routeswebphp)

```
