Download the PHP package yaozhibo/swoole_framework_libs without Composer
On this page you can find all versions of the php package yaozhibo/swoole_framework_libs. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download yaozhibo/swoole_framework_libs
More information about yaozhibo/swoole_framework_libs
Files in yaozhibo/swoole_framework_libs
Download yaozhibo/swoole_framework_libs
More information about yaozhibo/swoole_framework_libs
Files in yaozhibo/swoole_framework_libs
Vendor yaozhibo
Package swoole_framework_libs
Short Description Encapsulating swoole's framework libs.
License MIT
Package swoole_framework_libs
Short Description Encapsulating swoole's framework libs.
License MIT
Please rate this library. Is it a good library?
Informations about the package swoole_framework_libs
swoole_framework_libs
This is a vendor base on swoole, to speed up laravel/lumen.
install
composer require yaozhibo/swoole_framework_libs
register
- modify config/app.php
'providers' => [ . . . \YSwoole\YSwooleHttpProvider::class, \YSwoole\Providers\LaraServiceProvider::class //if your app was biult in Lumen, \YSwoole\Providers\LumenServiceProvider::class instead. . . . ]
publish
php artisan vendor:publish --provider="YSwoole\YSwooleHttpProvider"
config
- modify http server ip and port in .env
SWOOLE_HTTP_HOST=ip #default:0.0.0.0 SWOOLE_HTTP_PORT=port #default:8333 SWOOLE_HTTP_DAEMONZE=true #default:false
db.connection
- modify db connection in .env to enable mysql coroutine
DB_CONNECTION=swoole_mysql_coroutine
controller
if your php version is lower than 7.1, you need to use
php artisan make:yscontroller
to generate controller, or you could not use controller to finish mysql operation.
All versions of swoole_framework_libs with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.0
The package yaozhibo/swoole_framework_libs contains the following files
Loading the files please wait ....