PHPackages                             ordinaryjellyfish/flarum-react - 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. ordinaryjellyfish/flarum-react

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

ordinaryjellyfish/flarum-react
==============================

Run Flarum using your own ReactPHP HTTP server

0.3.0(6y ago)15MITPHP

Since Dec 26Pushed 6y ago1 watchersCompare

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

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

flarum-react
============

[](#flarum-react)

A simple library to serve Flarum over ReactPHP HTTP servers.

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

[](#installation)

```
composer require ordinaryjellyfish/flarum-react

```

Usage
-----

[](#usage)

In your Flarum's `index.php` file:

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

use OrdinaryJellyfish\FlarumReact\Server as FlarumServer;
use React\Promise\Promise;

$loop = React\EventLoop\Factory::create();

$server = new React\Http\Server(function ($request) {
    return new Promise(function ($resolve) use ($request) {
        $flarumServer = (new FlarumServer(
            $request,
            Flarum\Foundation\Site::fromPaths([
                'base' => __DIR__.'/..',
                'public' => __DIR__.'/../public',
                'storage' => __DIR__.'/../storage',
            ])
        ));
        $flarumServer->listen();

        $resolve($flarumServer->getResponse());
    });
});

$socket = new React\Socket\Server(8080, $loop);
$server->listen($socket);

$loop->run();
```

Visit  and voila! The beauty of Flarum arises. Note that this example does not handle static file serving. I may implement a handler to make everything simpler.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity50

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

Total

4

Last Release

2253d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/2273079abb11f0e0be6ae45180fd515babb0d3bba85cb79b4755851a8844bcea?d=identicon)[OrdinaryJellyfish](/maintainers/OrdinaryJellyfish)

---

Top Contributors

[![OrdinaryJellyfish](https://avatars.githubusercontent.com/u/33029517?v=4)](https://github.com/OrdinaryJellyfish "OrdinaryJellyfish (1 commits)")

---

Tags

flarum

### Embed Badge

![Health badge](/badges/ordinaryjellyfish-flarum-react/health.svg)

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

###  Alternatives

[fof/upload

The file upload extension for the Flarum forum with insane intelligence.

188171.7k15](/packages/fof-upload)[discord-php/http

Handles HTTP requests to Discord servers

25318.7k8](/packages/discord-php-http)[fof/byobu

Well integrated, advanced private discussions.

61105.8k9](/packages/fof-byobu)[fof/gamification

Upvotes and downvotes for your Flarum community

4157.1k6](/packages/fof-gamification)[fof/user-bio

Add a user bio to user profiles

2196.5k9](/packages/fof-user-bio)[flarum-lang/russian

Russian language pack for Flarum.

13126.1k](/packages/flarum-lang-russian)

PHPackages © 2026

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