PHPackages                             zolex/reactphp-bundle - 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. zolex/reactphp-bundle

ActiveSymfony-bundle[Framework](/categories/framework)

zolex/reactphp-bundle
=====================

ReactPHP Bundle for Symfony

1.0.0(10mo ago)41911[2 issues](https://github.com/zolex/reactphp-bundle/issues)MITPHPPHP ^8.1CI passing

Since Jun 28Pushed 10mo agoCompare

[ Source](https://github.com/zolex/reactphp-bundle)[ Packagist](https://packagist.org/packages/zolex/reactphp-bundle)[ RSS](/packages/zolex-reactphp-bundle/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (12)Versions (4)Used By (0)

ReactPHP Symfony Bundle
=======================

[](#reactphp-symfony-bundle)

[![Release](https://github.com/zolex/reactphp-bundle/workflows/Release/badge.svg)](https://github.com/zolex/ReactPhpBundle/actions)[![Version](https://camo.githubusercontent.com/8de98d2618c0392c34803165b10c2283da598b3a800ef91cd38691beffcc6897/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6f6c65782f72656163747068702d62756e646c65)](https://camo.githubusercontent.com/8de98d2618c0392c34803165b10c2283da598b3a800ef91cd38691beffcc6897/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f7a6f6c65782f72656163747068702d62756e646c65)[![Integration](https://github.com/zolex/reactphp-bundle/workflows/Integration/badge.svg)](https://github.com/zolex/reactphp-bundle/actions)[![Code Coverage](https://camo.githubusercontent.com/b9b17fcda2525c7350f1b53e4c6a76dec4be7832bb1088c0cdcc1db8f73aced8/68747470733a2f2f636f6465636f762e696f2f67682f7a6f6c65782f72656163747068702d62756e646c652f67726170682f62616467652e7376673f746f6b656e3d537774334236584d5577)](https://codecov.io/gh/zolex/reactphp-bundle)

[![License](https://camo.githubusercontent.com/738bf98df1e8f770ca034aa530910169a8545fe6ee1206c9a06672de787b2023/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a6f6c65782f72656163747068702d62756e646c65)](https://camo.githubusercontent.com/738bf98df1e8f770ca034aa530910169a8545fe6ee1206c9a06672de787b2023/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f7a6f6c65782f72656163747068702d62756e646c65)[![Downloads](https://camo.githubusercontent.com/a1f2cb38f4b11b27c8ebaaa4b75501be4de165edbfa1ccc24acf200ce7dc697b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6f6c65782f72656163747068702d62756e646c65)](https://camo.githubusercontent.com/a1f2cb38f4b11b27c8ebaaa4b75501be4de165edbfa1ccc24acf200ce7dc697b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f7a6f6c65782f72656163747068702d62756e646c65)

[![ReactPhpBundle](docs/logo.jpg)](docs/logo.jpg)

[![PHP](https://camo.githubusercontent.com/bbeaca4ecdd74d3fde840f711ebb8a5def2ff801187623f9bc365761b3b66f86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/bbeaca4ecdd74d3fde840f711ebb8a5def2ff801187623f9bc365761b3b66f86/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d2532333737374242342e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d706870266c6f676f436f6c6f723d7768697465)[![Symfony](https://camo.githubusercontent.com/75640a8af2eb1f88bec55acdbfd1052c4a4734b55418179bbbc411a4bd0374ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d2532333030303030302e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d73796d666f6e79266c6f676f436f6c6f723d7768697465)](https://camo.githubusercontent.com/75640a8af2eb1f88bec55acdbfd1052c4a4734b55418179bbbc411a4bd0374ab/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f73796d666f6e792d2532333030303030302e7376673f7374796c653d666f722d7468652d6261646765266c6f676f3d73796d666f6e79266c6f676f436f6c6f723d7768697465)

A Symfony Bundle providing a Runtime for [ReactPHP](https://github.com/reactphp/reactphp), a PSR-17 Kernel and a Router to serve assets.

Turn any Symfony project into a "self-serving" application, no traditional webserver required.

### Installation

[](#installation)

```
composer require zolex/reactphp-bundle
```

### Start the server

[](#start-the-server)

```
APP_RUNTIME="Zolex\\ReactPhpBundle\\Runtime\\ReactPhpRuntime" php public/index.php
```

For a very basic docker example, check the [Dockerfile](./docs/Dockerfile) in the docs folder.

### Assets

[](#assets)

To allow serving assets from the public directory through ReactPHP, add this file to your project `config/routes/react_bundle.yaml`

```
reactphp_bundle:
  type: reactphp_bundle
  resource: .
```

By default, only files in the `public/bundles` directory are served (like Swagger-UI in API-Platform). Additional directories and files can be registered in the bundle config at `config/bundles/zolex_react_php.yaml`:

```
zolex_react_php:
    asset_paths:
        - /bundles/
        - /custom-dir/
        - /single-file.js
        - /another/single/file.css
```

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance44

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity47

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

Total

3

Last Release

318d ago

Major Versions

0.2.0 → 1.0.02025-07-04

### Community

Maintainers

![](https://www.gravatar.com/avatar/76ce72168058dc260d552ef1c62e130bd40b592868ec025fb10162574ab50471?d=identicon)[zolex](/maintainers/zolex)

---

Top Contributors

[![zolex](https://avatars.githubusercontent.com/u/398739?v=4)](https://github.com/zolex "zolex (8 commits)")

### Embed Badge

![Health badge](/badges/zolex-reactphp-bundle/health.svg)

```
[![Health](https://phpackages.com/badges/zolex-reactphp-bundle/health.svg)](https://phpackages.com/packages/zolex-reactphp-bundle)
```

###  Alternatives

[shopware/platform

The Shopware e-commerce core

3.3k1.5M3](/packages/shopware-platform)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[prestashop/prestashop

PrestaShop is an Open Source e-commerce platform, committed to providing the best shopping cart experience for both merchants and customers.

9.0k15.4k](/packages/prestashop-prestashop)[symfony/framework-bundle

Provides a tight integration between Symfony components and the Symfony full-stack framework

3.6k235.4M9.7k](/packages/symfony-framework-bundle)[sulu/sulu

Core framework that implements the functionality of the Sulu content management system

1.3k1.3M152](/packages/sulu-sulu)[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)

PHPackages © 2026

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