PHPackages                             luzrain/workerman-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. [Utility &amp; Helpers](/categories/utility)
4. /
5. luzrain/workerman-bundle

ActiveSymfony-bundle[Utility &amp; Helpers](/categories/utility)

luzrain/workerman-bundle
========================

Workerman runtime for symfony applications

v0.4.0(9mo ago)281.9k1MITPHPPHP &gt;=8.1CI passing

Since Aug 24Pushed 8mo ago3 watchersCompare

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

READMEChangelog (7)Dependencies (17)Versions (10)Used By (0)

Workerman runtime for symfony applications
==========================================

[](#workerman-runtime-for-symfony-applications)

[![PHP >=8.1](https://camo.githubusercontent.com/eac250be9d9a198998f3c1c5df4b93988e8e03e0c4913c88acd299dbb254039c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d382e312d3737376262332e737667)](https://camo.githubusercontent.com/eac250be9d9a198998f3c1c5df4b93988e8e03e0c4913c88acd299dbb254039c/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d2533453d382e312d3737376262332e737667)[![Symfony ^6.4|^7.0](https://camo.githubusercontent.com/1d9886932893075fa5a10cc2a7b5c92c567c3fd846f66b03818f291ba42ab1a7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545362e34253743253545372e302d3337343135312e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/1d9886932893075fa5a10cc2a7b5c92c567c3fd846f66b03818f291ba42ab1a7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545362e34253743253545372e302d3337343135312e7376673f7374796c653d666c6174)[![Tests Status](https://camo.githubusercontent.com/6ad6c4eec7f7c307c79aa8310e231d56b42b28e4c882f03ffec0e8ee9b70cd3d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6c757a7261696e2f776f726b65726d616e2d62756e646c652f74657374732e79616d6c3f6272616e63683d6d6173746572)](../../actions/workflows/tests.yaml)

[Workerman](https://github.com/walkor/workerman) is a high-performance, asynchronous event-driven PHP framework written in pure PHP.
This bundle provides a Workerman integration in Symfony, allowing you to easily create a http server, scheduler and supervisor all in one place. This bundle allows you to replace a traditional web application stack like php-fpm + nginx + cron + supervisord, all written in pure PHP (no Go, no external binaries). The request handler works in an event loop which means the Symfony kernel and the dependency injection container are preserved between requests, making your application faster with less (or no) code changes.

Getting started
---------------

[](#getting-started)

### Install composer packages

[](#install-composer-packages)

```
$ composer require luzrain/workerman-bundle nyholm/psr7
```

### Enable the bundle

[](#enable-the-bundle)

```
