PHPackages                             brenodouglas/react-restify - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. brenodouglas/react-restify

ActiveLibrary[HTTP &amp; Networking](/categories/http)

brenodouglas/react-restify
==========================

Create RESTful API with ReactPHP

0.3.0(10y ago)0181MITPHP

Since Mar 28Pushed 10y ago2 watchersCompare

[ Source](https://github.com/brenodouglas/React-Restify)[ Packagist](https://packagist.org/packages/brenodouglas/react-restify)[ RSS](/packages/brenodouglas-react-restify/feed)WikiDiscussions master Synced 2mo ago

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

\#React-Restify [![Scrutinizer Code Quality](https://camo.githubusercontent.com/7229e166940416366b2e317fcc0674c193a783a33e14d6d1c84987515df089e1/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f4361704d6f757373652f52656163742d526573746966792f6261646765732f7175616c6974792d73636f72652e706e673f733d36643139383664626334326435666335613165323331333438393662323834373937646532396230)](https://scrutinizer-ci.com/g/CapMousse/React-Restify/)

> RESTful api made easy for [ReactPHP](http://nodephp.org/), seriously.

\##Instalation In your `composer.json`

```
"require"       : {
    "capmousse/react-restify": "dev-master"
},

```

\##Create server

Here is an exemple of a simple HTTP server replying to all get call like `http://127.0.0.1:1337/hello/you`

```
require 'vendor/autoload.php';

$server = new CapMousse\ReactRestify\Server("MyAPP", "0.0.0.1");

$server->get('/hello/{name}', function ($request, $response, $next) {
    $response->write("Hello ".$request->name);
    $next();
});

$runner = new CapMousse\ReactRestify\Runner($server);
$runner->listen(1337);
```

More examples can be found on the example directory like the **Todo** example, the most complete

Design goals
------------

[](#design-goals)

*React-Restify* was primary made to build RESTful api easily. It can be used like *Silex*, but without the framework part.

Next part will be to support Sockets, Upgrade Requests... to create a real time API server.

\##Licence

MIT, see LICENCE file

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~325 days

Total

3

Last Release

3778d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/5ba5e30ffcdf96646ca9ba09525e6d628d604836db2e99e3f2f3b6570b265b5e?d=identicon)[breninho94](/maintainers/breninho94)

---

Top Contributors

[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (10 commits)")[![brenodouglas](https://avatars.githubusercontent.com/u/3895280?v=4)](https://github.com/brenodouglas "brenodouglas (8 commits)")[![imakecodes](https://avatars.githubusercontent.com/u/35536648?v=4)](https://github.com/imakecodes "imakecodes (4 commits)")[![scrutinizer-auto-fixer](https://avatars.githubusercontent.com/u/6253494?v=4)](https://github.com/scrutinizer-auto-fixer "scrutinizer-auto-fixer (1 commits)")

---

Tags

restreactrestify

### Embed Badge

![Health badge](/badges/brenodouglas-react-restify/health.svg)

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

###  Alternatives

[zircote/swagger-php

Generate interactive documentation for your RESTful API using PHP attributes (preferred) or PHPDoc annotations

5.3k132.9M468](/packages/zircote-swagger-php)[psr/link

Common interfaces for HTTP links

2.5k144.1M68](/packages/psr-link)[league/fractal

Handle the output of complex data structures ready for API output.

3.5k64.1M476](/packages/league-fractal)[friendsofsymfony/rest-bundle

This Bundle provides various tools to rapidly develop RESTful API's with Symfony

2.8k73.3M319](/packages/friendsofsymfony-rest-bundle)[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k58.7M210](/packages/lexik-jwt-authentication-bundle)[nelmio/api-doc-bundle

Generates documentation for your REST API from attributes

2.3k63.6M233](/packages/nelmio-api-doc-bundle)

PHPackages © 2026

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