PHPackages                             simplex/simplex - 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. simplex/simplex

ActiveLibrary[Framework](/categories/framework)

simplex/simplex
===============

Modular, micro framework for PHP 7

0.2.1(6y ago)410211MITPHPPHP &gt;=7.1CI failing

Since Mar 29Pushed 6y ago1 watchersCompare

[ Source](https://github.com/freddiefrantzen/simplex)[ Packagist](https://packagist.org/packages/simplex/simplex)[ RSS](/packages/simplex-simplex/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (19)Versions (6)Used By (1)

[![Build Status](https://camo.githubusercontent.com/80e6e6ffc516f9f0fa9afb9dc5c7d8d5c5af2a5545cf096e0afaa6e83791efdd/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f667265646469656672616e747a656e2f73696d706c65782f6261646765732f6275696c642e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/freddiefrantzen/simplex/build-status/master)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/2796d9e9f17c85227c877d7ac2f1b8b4fecb7f79dfc2945f94866600ac9b1c6c/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f667265646469656672616e747a656e2f73696d706c65782f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/freddiefrantzen/simplex/?branch=master)[![Code Coverage](https://camo.githubusercontent.com/1ffb9d2086c70384a8a4440d857ef9fca307df74ce2bb0fdea6d79a6aa8d4ca3/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f667265646469656672616e747a656e2f73696d706c65782f6261646765732f636f7665726167652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/freddiefrantzen/simplex/?branch=master)

Simplex Framework
=================

[](#simplex-framework)

**Note: This is a work-in-progress and the APIs will *very likely* change without warning**

What is Simplex?
----------------

[](#what-is-simplex)

A modular, micro framework build on top of the [PHP-DI](http://php-di.org/) dependency injection container and the [Symfony Router](http://symfony.com/doc/current/components/routing.html).

- Lightweight
- Modular
- Code and convention over excessive configuration
- Compatible with [PSR-7](http://www.php-fig.org/psr/psr-7/) middleware
- Out-of-box support for console commands
- Controllers as first-class citizens
- Supports route annotations
- Built-in caching
- [Doctrine ORM](http://www.doctrine-project.org/projects/orm.html) integration (can be replaced with ORM of your choice)
- [Hateoas serializer](https://github.com/willdurand/Hateoas) integration

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

[](#installation)

Install with composer

```
$ composer create-project simplex/quickstart -s dev

```

Once installed, create a `.env` file in the root directory (see the `.env.dist` template).

The quickstart demo requires a Mysql database. This can be created by running the following command

```
$ composer init-db

```

Now start a webserver

```
$ php -S 0.0.0.0:8080 -t public public/app.php

```

And point your browser to `http://localhost:8080/`

Documentation
-------------

[](#documentation)

- [Modules](doc/modules.md)
- [Environments and Configuration](doc/envs-and-config.md)
- [Controllers](doc/controllers.md)
- [Routing](doc/routing.md)
- [Http Middleware](doc/http-middleware.md)
- [Caching](doc/caching.md)
- [Console Commands](doc/console-commands.md)

See the [quickstart](https://github.com/freddiefrantzen/simplex-quickstart) for a demo module as well as [Factories](http://php-di.org/doc/php-definitions.html#factories) for Doctrine ORM and Hateoas serializer.

Roadmap
-------

[](#roadmap)

- Provide support for defining routes in code

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

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

Every ~283 days

Total

5

Last Release

2195d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4fdf141d03fedfced88fcf907dadca11d3b6eff0230ef46c5422a1afa3965450?d=identicon)[freddiefrantzen](/maintainers/freddiefrantzen)

---

Top Contributors

[![freddiefrantzen](https://avatars.githubusercontent.com/u/3254435?v=4)](https://github.com/freddiefrantzen "freddiefrantzen (60 commits)")

---

Tags

modularmicro-framework

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

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

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M16.9k](/packages/laravel-framework)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[ec-cube/ec-cube

EC-CUBE EC open platform.

78527.0k1](/packages/ec-cube-ec-cube)[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)

PHPackages © 2026

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