PHPackages                             rubenhazelaar/flex - 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. rubenhazelaar/flex

ActiveLibrary[Framework](/categories/framework)

rubenhazelaar/flex
==================

An ultra simple PHP7 framework. Small and simple, just flex!

v0.0.1(10y ago)316PHPPHP ^7.0

Since Jun 28Pushed 10y ago2 watchersCompare

[ Source](https://github.com/rubenhazelaar/flex)[ Packagist](https://packagist.org/packages/rubenhazelaar/flex)[ RSS](/packages/rubenhazelaar-flex/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (5)Versions (2)Used By (0)

Flex
====

[](#flex)

Flex is an ultra simple PHP framework, based on PSR-7 and Zend Diactoros. Routing is done by fast-route, although you are free to change it up.

It also features a basic middleware implementation and template system. And more to come in the future.

Todo
----

[](#todo)

- Implement FirewallMiddleware
- Implement context (IoC container passed to middleware and controllers)
- Document Middleware &amp; Loader classes
- Test Middleware &amp; Loader &amp; Template classes

Install with composer
---------------------

[](#install-with-composer)

```
    composer require rubenhazelaar/flex
```

Docker
------

[](#docker)

Getting started with Flex (using Docker) is easy as 1, 2, 3. Just run:

```
    docker-compose up #Add '--build' when running for the first time
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity48

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

3653d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4087548?v=4)[rubenhazelaar](/maintainers/rubenhazelaar)[@rubenhazelaar](https://github.com/rubenhazelaar)

---

Top Contributors

[![rubenhazelaar](https://avatars.githubusercontent.com/u/4087548?v=4)](https://github.com/rubenhazelaar "rubenhazelaar (2 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/rubenhazelaar-flex/health.svg)

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

###  Alternatives

[symfony/symfony

The Symfony PHP framework

31.4k86.9M2.2k](/packages/symfony-symfony)[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.2k532.1M2.5k](/packages/aws-aws-sdk-php)[slim/slim

Slim is a PHP micro framework that helps you quickly write simple yet powerful web applications and APIs

12.3k51.8M1.4k](/packages/slim-slim)[cakephp/cakephp

The CakePHP framework

8.8k19.1M1.7k](/packages/cakephp-cakephp)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k496.1k33](/packages/neuron-core-neuron-ai)[tempest/framework

The PHP framework that gets out of your way.

2.2k31.1k12](/packages/tempest-framework)

PHPackages © 2026

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