PHPackages                             jdomenechb/reactphp-symfony-server - 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. jdomenechb/reactphp-symfony-server

ActiveLibrary

jdomenechb/reactphp-symfony-server
==================================

ReactPHP server over Symfony framework

0.1.7(5y ago)43.4k1[3 issues](https://github.com/jdomenechb/reactphp-symfony-server/issues)MITPHPPHP &gt;=7.1CI failing

Since Sep 2Pushed 5y ago2 watchersCompare

[ Source](https://github.com/jdomenechb/reactphp-symfony-server)[ Packagist](https://packagist.org/packages/jdomenechb/reactphp-symfony-server)[ RSS](/packages/jdomenechb-reactphp-symfony-server/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (8)Dependencies (6)Versions (9)Used By (0)

ReactPHP Symfony Server
=======================

[](#reactphp-symfony-server)

This library wraps a ReactPHP server over a Symfony 4 project installation.

Installation (using composer)
-----------------------------

[](#installation-using-composer)

```
composer require jdomenechb/reactphp-symfony-server
```

After running this command, be sure to define an `APP_PORT` environment variable prior to running the server. If the Symfony project uses DotEnv in an specific environment, it will take the value from the `.env` file.

Usage
-----

[](#usage)

From the root of your project, run:

```
vendor/php/reactphp-server
```

The server will inform of the port it is running.

FAQ
---

[](#faq)

**Q. How does it work?**

The library takes the `public/index.php` file from the project root, and reads it until the point the Symfony kernel is created. Then, from this point, it takes control in order to provide the ReactPHP server.

Once executed, requests are made directly to the server and translated to Symfony requests, which are dealt then by the Symfony Kernel. The Kernel provides afterwards a response, which is translated back to a response the ReactPHP server can understand.

**Q. Which versions of PHP and Symfony are supported?**

PHP &gt;= 7.1 and Symfony 4.\*.

**Q. Does it serve static assets too?**

Yes, the library has basic support for serving static assets, like images, CSS ans JS under the `public` folder of your project.

However, you might consider using another web server (like Nginx or Apache) to serve them, as they are more dedicated to this matter. This library focus mainly on serving PHP requests.

**Q. Can I use another web server after I install this library?**

Yes, the library is prepared to not modify at all your project, so you can run another server if needed in top of your code.

**Q. Will it work with all kind of Symfony installations?**

Unfortunately, there is no way to assure that. The library has been tested with a `public/index.php` file from a Symfony 4 skeleton, and the more a `public/index.php` has been modified, the most likely is the library to fail.

For this reason, I strongly encourage you to contribute to the project in whatever mean you can.

**Q. Can I develop or modify code while using the server?**

If you do so, you might encounter that your changes are not being displayed after refreshing the page. This is due to the fact that, once a class has been loaded in memory during server execution, it will remain unchanged in the app memory.

In order to see your changes, you should restart the server.

Contributing
------------

[](#contributing)

Feel free to contribute to the project by submitting pull requests, or by opening issues you might find. I am eager to receive your feedback and improve the quality and features of the library.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance5

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity52

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

Recently: every ~154 days

Total

8

Last Release

2107d ago

PHP version history (2 changes)0.1.0PHP &gt;=7.0

0.1.6PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/1197b4ce0411048910993d1b98874c69f8811614aefc414b012d0eb7e4c7a314?d=identicon)[jdomenechb](/maintainers/jdomenechb)

---

Top Contributors

[![jdomenechb](https://avatars.githubusercontent.com/u/11862227?v=4)](https://github.com/jdomenechb "jdomenechb (41 commits)")

---

Tags

reactphpserversymfonysymfony4

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/jdomenechb-reactphp-symfony-server/health.svg)

```
[![Health](https://phpackages.com/badges/jdomenechb-reactphp-symfony-server/health.svg)](https://phpackages.com/packages/jdomenechb-reactphp-symfony-server)
```

###  Alternatives

[simplesamlphp/simplesamlphp

A PHP implementation of a SAML 2.0 service provider and identity provider.

1.1k12.4M192](/packages/simplesamlphp-simplesamlphp)[laravel/browser-kit-testing

Provides backwards compatibility for BrowserKit testing in the latest Laravel release.

5139.4M285](/packages/laravel-browser-kit-testing)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

19462.3M1.3k](/packages/drupal-core)[sulu/sulu

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

1.3k1.3M152](/packages/sulu-sulu)[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)[contao/core-bundle

Contao Open Source CMS

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

PHPackages © 2026

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