PHPackages                             chuchiy/phpex - 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. chuchiy/phpex

ActiveLibrary

chuchiy/phpex
=============

lightweight, flexible, developer friendly micro web framework

0.0.1(9y ago)117The MIT License (MIT)PHPPHP &gt;=5.5.0

Since Jan 20Pushed 9y ago1 watchersCompare

[ Source](https://github.com/chuchiy/phpex)[ Packagist](https://packagist.org/packages/chuchiy/phpex)[ RSS](/packages/chuchiy-phpex/feed)WikiDiscussions master Synced 2mo ago

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

The PHPex Web Framework
=======================

[](#the-phpex-web-framework)

[![Build Status](https://camo.githubusercontent.com/b0bc9047000ae14a7b3b4d9ce1c92e708d161c9a1ca6aaab220f349c036e4e2d/68747470733a2f2f6170692e7472617669732d63692e6f72672f636875636869792f70687065782e737667)](https://travis-ci.org/chuchiy/phpex)[![Coverage Status](https://camo.githubusercontent.com/63da441e84058ab740adcfe1f3b4de6078c1b6c6262c32e464b92b50e8d26901/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f636875636869792f70687065782f62616467652e7376673f6272616e63683d6d617374657226736572766963653d676974687562)](https://coveralls.io/github/chuchiy/phpex?branch=master)[![License](https://camo.githubusercontent.com/87622483e9d6bc9beac03237e47e6564fba3ff919879742708280d1ed580f5dc/68747470733a2f2f706f7365722e707567782e6f72672f707567782f62616467652d706f7365722f6c6963656e73653f666f726d61743d706c6173746963)](https://packagist.org/packages/chuchiy/phpex)

PHPex is a lightweight, flexible, developer friendly micro web framework written in PHP.

Features
--------

[](#features)

- High-order function based powerful plugin(middleware) with flexible process chain
- Class method annotation and function callback based url routing with parameters and pattern matching
- The all-in-one cycle object handle [PSR-7](http://www.php-fig.org/psr/psr-7/) request, response, dependency injection and more.
- Request handler can return string, stream, iterable or anything you want with the help of plugin
- Lazy template rendering for complex web page composition

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

[](#installation)

Use [Composer](https://getcomposer.org/) to install PHPex.

```
$ composer require chuchiy/phpex
```

Getting Started
---------------

[](#getting-started)

Single file demo, **don't use it in production**:

```
