PHPackages                             crazy-goat/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. [Framework](/categories/framework)
4. /
5. crazy-goat/workerman-bundle

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

crazy-goat/workerman-bundle
===========================

Workerman runtime for symfony applications

v0.9.8(5mo ago)1441[1 PRs](https://github.com/crazy-goat/workerman-bundle/pulls)MITPHPPHP ^8.1

Since May 9Pushed 5mo agoCompare

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

READMEChangelog (9)Dependencies (14)Versions (18)Used By (0)

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

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

[![PHP ^8.1](https://camo.githubusercontent.com/1f25d6c1ec6d58b0e213f120cbc0ec17a133d82cae45514ca700356030696849/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e312d3737376262332e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/1f25d6c1ec6d58b0e213f120cbc0ec17a133d82cae45514ca700356030696849/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f5048502d253545382e312d3737376262332e7376673f7374796c653d666c6174)[![Symfony ^6.4|^7.0](https://camo.githubusercontent.com/1d9886932893075fa5a10cc2a7b5c92c567c3fd846f66b03818f291ba42ab1a7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545362e34253743253545372e302d3337343135312e7376673f7374796c653d666c6174)](https://camo.githubusercontent.com/1d9886932893075fa5a10cc2a7b5c92c567c3fd846f66b03818f291ba42ab1a7/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f53796d666f6e792d253545362e34253743253545372e302d3337343135312e7376673f7374796c653d666c6174)[![Tests Status](https://camo.githubusercontent.com/728e6bdc080a656bf3818829349da6c4fda4e21591a665212cecdd6eee63165d/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f6372617a792d676f61742f776f726b65726d616e2d62756e646c652f74657374732e79616d6c3f6272616e63683d6d6173746572)](../../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.

What new in this fork
---------------------

[](#what-new-in-this-fork)

- `servers.reuse_port` - on linux machines u can use kernel load balancer if `SO_REUSEPORT` is enabled
- `servers.serve_files` - set to `false` to disable serving file. Use this option for RestAPI projects. Default: `false`
- By default `luzrain/workerman-bundle` parse data to `psr7` request and then to symfony `Request`. This `workerman-bundle` will create symfony request without psr7 it increase performance, but it is still experimental.

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

[](#getting-started)

### Install composer packages

[](#install-composer-packages)

```
composer require crazy-goat/workerman-bundle
```

### Enable the bundle

[](#enable-the-bundle)

```
