PHPackages                             tourze/symfony-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. [HTTP &amp; Networking](/categories/http)
4. /
5. tourze/symfony-workerman-bundle

ActiveSymfony-bundle[HTTP &amp; Networking](/categories/http)

tourze/symfony-workerman-bundle
===============================

Symfony integration bundle for Workerman, providing high-performance asynchronous network communication capabilities

0.0.1(1y ago)011PHPPHP ^8.1CI passing

Since Mar 24Pushed 4mo ago1 watchersCompare

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

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

symfony-workerman-bundle
========================

[](#symfony-workerman-bundle)

[English](README.md) | [中文](README.zh-CN.md)

[![Latest Version](https://camo.githubusercontent.com/3696683776f88dfc175cb25caa6cd86ad5642071bc775b7110fa0f7262bff35f/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f746f75727a652f73796d666f6e792d776f726b65726d616e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-workerman-bundle)[![Total Downloads](https://camo.githubusercontent.com/0d38b7511a9f97e1ba7af45eb52211060018e2f61c5dff85f141a2be4273c0e5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f746f75727a652f73796d666f6e792d776f726b65726d616e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-workerman-bundle)[![PHP Version](https://camo.githubusercontent.com/b2087cf1dc527bc8ca1112dd4cda8d09b5ac92dacda77f89f2dfbfa9ca139886/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f746f75727a652f73796d666f6e792d776f726b65726d616e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-workerman-bundle)[![License](https://camo.githubusercontent.com/138a18a6572989b919c883be032135e3b1d08c9837f1836ab73f147b3cf20248/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f746f75727a652f73796d666f6e792d776f726b65726d616e2d62756e646c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tourze/symfony-workerman-bundle)[![Build Status](https://camo.githubusercontent.com/0346e18af1343d739d0405776c07b83798d5bb0200e3efcfdf657e5e662f6403/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f746f75727a652f7068702d6d6f6e6f7265706f2f63692e796d6c3f7374796c653d666c61742d737175617265)](https://github.com/tourze/php-monorepo/actions)[![Code Coverage](https://camo.githubusercontent.com/73ee3bab50824f778cedc6b4b3f78bcdab621eef812a979ec388b8ad692a4bff/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f6769746875622f746f75727a652f7068702d6d6f6e6f7265706f2e7376673f7374796c653d666c61742d737175617265)](https://codecov.io/gh/tourze/php-monorepo)

Symfony integration bundle for Workerman, a high-performance asynchronous PHP socket framework.

Table of Contents
-----------------

[](#table-of-contents)

- [Features](#features)
- [Installation](#installation)
- [Quick Start](#quick-start)
- [Commands](#commands)
- [Core Concepts](#core-concepts)
- [Advanced Usage](#advanced-usage)
- [Architecture Diagram](#architecture-diagram)
- [Technical Notes](#technical-notes)
- [Dependencies](#dependencies)
- [Contributing](#contributing)
- [License](#license)

Features
--------

[](#features)

- Command-line based Workerman service management
- Automatic discovery and registration of Worker services through interfaces
- Support for TCP/UDP and other network protocols
- Buffer management mechanism
- Integrated Crontab scheduling system
- Automatic Worker process optimization based on CPU cores
- Seamless integration with Symfony dependency injection container

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

[](#installation)

```
composer require tourze/symfony-workerman-bundle
```

Quick Start
-----------

[](#quick-start)

### 1. Create a Worker Service

[](#1-create-a-worker-service)

```
