The community is asking for how to use Swoole with Symfony and how to integrate a Symfony project with PHP Swoole.
It is a solution to integrate Symfony with Swoole to speed up your applications.
composer create-project symfony/skeleton project cd ./project composer require k911/swoole-bundle
<?php return [ // ...other bundles K911\Swoole\Bridge\Symfony\Bundle\SwooleBundle::class => ['all' => true], ];
composer require insidestyles/swoole-bridge-bundle
swoole_bridge: server: port: "%web_server_port%" #The port the socket server will listen on host: "%web_server_host%"
<?php new Insidestyles\SwooleBridgeBundle\SwooleBridgeBundle(),
php bin/console swoole:bridge:server