PHPackages                             stratify/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. stratify/framework

ActiveLibrary[Framework](/categories/framework)

stratify/framework
==================

Stratify framework package

0.8.0(8y ago)205731[3 issues](https://github.com/stratifyphp/framework/issues)MITPHPPHP &gt;=7.1

Since Sep 10Pushed 8y ago2 watchersCompare

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

READMEChangelog (10)Dependencies (8)Versions (15)Used By (0)

Stratify is a try at writing a middleware-based web framework.

*Work in progress*

A quick intro:

- PHP 7.1 and up
- middleware-oriented HTTP stack
- [http-interop](https://github.com/http-interop/http-middleware) middlewares
- dependency injection and config with [PHP-DI](http://php-di.org/)
- module system based on the [PHP-DI kernel](https://github.com/PHP-DI/Kernel)
- CLI console with [Silly](https://github.com/mnapoli/silly)

The documentation is not up to date, and the project is highly likely to change, TODO:

- remove magic and architecture
- implement PSR-15

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

[](#getting-started)

```
composer require stratify/framework

```

Example of `web/index.php`:

```
