Download the PHP package insidestyles/swoole-bridge-bundle without Composer
On this page you can find all versions of the php package insidestyles/swoole-bridge-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download insidestyles/swoole-bridge-bundle
More information about insidestyles/swoole-bridge-bundle
Files in insidestyles/swoole-bridge-bundle
Download insidestyles/swoole-bridge-bundle
More information about insidestyles/swoole-bridge-bundle
Files in insidestyles/swoole-bridge-bundle
Vendor insidestyles
Package swoole-bridge-bundle
Short Description Swoole Bridge For Php Frameworks
License MIT
Package swoole-bridge-bundle
Short Description Swoole Bridge For Php Frameworks
License MIT
Please rate this library. Is it a good library?
Informations about the package swoole-bridge-bundle
swoole-bridge-bundle
Symfony Swoole Bridge Bundle
Requirements
- PHP >= 7.1
- symfony/framework-bundle: "^5.0|^6.0"
- insidestyles/swoole-bridge: "^1.0"
- symfony/console: "^5.0|^6.0",
- "laminas/laminas-diactoros": "^2.0"
Installation
This package is installable and autoloadable via Composer
Update config.yml
Update bundles
Usage
Create custom handler
One of common problems while running long lived program in php is "MySQL server has gone away" (Long lived php daemon running using reactphp, websocket, swoole, ..etc..). In this case we can create a custom handler to handle this error. For example:
Override default handler using symfony service decorator:
#config/services.yaml
services:
swoole_bridge.custom_handler:
class: App\CustomHandler
decorates: swoole_bridge.handler
arguments:
- '@swoole_bridge.custom_handler.inner'
- '@doctrine'
- '@logger'
All versions of swoole-bridge-bundle with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.2
symfony/framework-bundle Version ^5.0|^6.0
insidestyles/swoole-bridge Version ^1.0
symfony/psr-http-message-bridge Version ^1.0|^2.0
symfony/console Version ^5.0|^6.0
laminas/laminas-diactoros Version ^2.0
nyholm/psr7 Version ^1.1
symfony/framework-bundle Version ^5.0|^6.0
insidestyles/swoole-bridge Version ^1.0
symfony/psr-http-message-bridge Version ^1.0|^2.0
symfony/console Version ^5.0|^6.0
laminas/laminas-diactoros Version ^2.0
nyholm/psr7 Version ^1.1
The package insidestyles/swoole-bridge-bundle contains the following files
Loading the files please wait ....