PHPackages                             enlighten/framework - 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. [Framework](/categories/framework)
4. /
5. enlighten/framework

ActiveLibrary[Framework](/categories/framework)

enlighten/framework
===================

A lightweight PHP micro framework that helps you get shit done.

v0.1-alpha(10y ago)41501[6 issues](https://github.com/roydejong/Enlighten/issues)MITPHPPHP &gt;=5.5

Since Nov 22Pushed 9y ago1 watchersCompare

[ Source](https://github.com/roydejong/Enlighten)[ Packagist](https://packagist.org/packages/enlighten/framework)[ RSS](/packages/enlighten-framework/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (2)Versions (2)Used By (0)

Enlighten PHP Framework
=======================

[](#enlighten-php-framework)

[![Documentation Status](https://camo.githubusercontent.com/c64b0e8a7cb82bf9ca9c14c7dbb18e66b0d3ef718977c7e35afdc0674820689a/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f646f63732d6c61746573742d627269676874677265656e2e7376673f7374796c653d666c6174)](http://enlighten.readthedocs.org/en/latest/)[![Build Status](https://camo.githubusercontent.com/e1a35d0ba101119fbb080d641f2f924415ec02397a233ead60dd28267b95cf83/68747470733a2f2f7472617669732d63692e6f72672f726f7964656a6f6e672f456e6c69676874656e2e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/roydejong/Enlighten)[![Latest Stable Version](https://camo.githubusercontent.com/82e4cc8288b00a3ce5d1d947e2e04400658b2afe9d26c7f113e0436a1255f07c/68747470733a2f2f706f7365722e707567782e6f72672f656e6c69676874656e2f6672616d65776f726b2f762f737461626c65)](https://packagist.org/packages/enlighten/framework)[![Latest Unstable Version](https://camo.githubusercontent.com/fc3cce9285cefd899b5eae6026ddc3fd6e937b5021bfce79a4df45223432201b/68747470733a2f2f706f7365722e707567782e6f72672f656e6c69676874656e2f6672616d65776f726b2f762f756e737461626c65)](https://packagist.org/packages/enlighten/framework)[![License](https://camo.githubusercontent.com/c430e49989e927acf43ed1f66e13640afad75e7f59bedf46d624c061441b2606/68747470733a2f2f706f7365722e707567782e6f72672f656e6c69676874656e2f6672616d65776f726b2f6c6963656e7365)](https://github.com/roydejong/Enlighten/blob/master/LICENSE.md)[![Test Coverage](https://camo.githubusercontent.com/bc2ed1444ed4ee6e6cd2bce2ac9fc2353bbcf15ffbe79c594eb2ed28a03d8b46/68747470733a2f2f636f6465636c696d6174652e636f6d2f6769746875622f726f7964656a6f6e672f456e6c69676874656e2f6261646765732f636f7665726167652e737667)](https://codeclimate.com/github/roydejong/Enlighten/coverage)

**Enlighten is a simple, lean, high-performance PHP micro framework that acts as the foundation for your web application.**

This is a modern framework for PHP 5 that doesn't get in your way. Just the building blocks you need to accelerate your application development and simply *get shit done*.

- Easy HTTP request and response management: forms, headers, cookies, files and more.
- Razor fast routing with dynamic URL variables and dependency injection.
- Application and route filters for handling authentication, exceptions, etc.

It's easy to use:

```
$app->get('/hello/$name', function ($name) {
    echo "Hi there, $name";
});

```

It is awesome because it is:

- Built for ease of use and performance.
- Low on fat: small code base with minimal external dependencies.
- Stable: tested extensively with a battery of unit tests.
- Future-proof: Fully compatible with HHVM and PHP 7.

Getting started
---------------

[](#getting-started)

To get started, add Enlighten as a Composer dependency to your project:

```
composer require enlighten/framework

```

In the entry point (`index.php`) of your application, initialize and start Enlighten:

```
$app = new Enlighten();
$app->start();

```

You'll need to make sure that your web server redirects all requests you want to handle with Enlighten to this script. This code will initialize a blank application and process all incoming requests.

Next, you will want to define routes. Routes map an incoming request to an appropriate function or controller that can respond to it. It's easy to set up:

```
$app->get('/articles/$name', function ($name) {
    // Triggered for all GET requests to /articles/*
    echo "You requested an article with this name: $name";
});

```

**Check out the full documentation and quickstart guide at .**

###  Health Score

19

—

LowBetter than 10% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

3852d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/8a6873ef39d8543fca22ac4bbc6ceded1454067f2d82d2b51cdd2642d7f14bed?d=identicon)[roydejong](/maintainers/roydejong)

---

Top Contributors

[![roydejong](https://avatars.githubusercontent.com/u/6772638?v=4)](https://github.com/roydejong "roydejong (215 commits)")

---

Tags

httpframeworkmicrorouting

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/enlighten-framework/health.svg)

```
[![Health](https://phpackages.com/badges/enlighten-framework/health.svg)](https://phpackages.com/packages/enlighten-framework)
```

###  Alternatives

[clue/framework-x

Framework X – the simple and fast micro framework for building reactive web applications that run anywhere.

935742.1k8](/packages/clue-framework-x)[vlucas/bulletphp

A heierarchical resource-oriented micro-framework built on nested closures instead of route-based callbacks

41850.0k1](/packages/vlucas-bulletphp)[igniphp/framework

Swoole, PSR-7, PSR-15 modular micro anti-framework.

2651.0k1](/packages/igniphp-framework)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
