PHPackages                             riverside/php-express - 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. riverside/php-express

ActiveLibrary[Framework](/categories/framework)

riverside/php-express
=====================

PHP micro-framework inspired by Express.js

2.0.0(1y ago)3660613[2 issues](https://github.com/riverside/php-express/issues)[1 PRs](https://github.com/riverside/php-express/pulls)MITPHPPHP &gt;=7.1CI failing

Since Jun 15Pushed 1y ago2 watchersCompare

[ Source](https://github.com/riverside/php-express)[ Packagist](https://packagist.org/packages/riverside/php-express)[ Docs](https://github.com/riverside/php-express)[ Fund](https://www.paypal.me/Dimitar81)[ RSS](/packages/riverside-php-express/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

php-express
===========

[](#php-express)

PHP micro-framework inspired by Express.js

BuildGitHub pagesStableLicense[![CI](https://github.com/riverside/php-express/actions/workflows/test.yml/badge.svg)](https://github.com/riverside/php-express/actions/workflows/test.yml)[![pages-build-deployment](https://github.com/riverside/php-express/actions/workflows/pages/pages-build-deployment/badge.svg)](https://github.com/riverside/php-express/actions/workflows/pages/pages-build-deployment)[![Latest Stable Version](https://camo.githubusercontent.com/5786bfdabe40d1e3b5e2f2f717c68973797a15760bb0274e0b359fa4ab037ff3/68747470733a2f2f706f7365722e707567782e6f72672f7269766572736964652f7068702d657870726573732f762f737461626c65)](https://packagist.org/packages/riverside/php-express)[![License](https://camo.githubusercontent.com/f9e5fec01941035db934426775a33e1a5dac9d74fb8847565e0820b2dc976028/68747470733a2f2f706f7365722e707567782e6f72672f7269766572736964652f7068702d657870726573732f6c6963656e7365)](https://packagist.org/packages/riverside/php-express)### Requirements

[](#requirements)

- PHP &gt;= 7.1
- PHP extensions:
    - JSON (`ext-json`)

### Installation

[](#installation)

If Composer is not installed on your system yet, you may go ahead and install it using this command line:

```
$ curl -sS https://getcomposer.org/installer | php

```

Next, add the following require entry to the `composer.json` file in the root of your project.

```
{
    "require" : {
        "riverside/php-express" : "^2.0"
    }
}
```

Finally, use Composer to install php-express and its dependencies:

```
$ php composer.phar install

```

### Routing

[](#routing)

```
