Speed up the Laravel framework with the swoole extension!
wenjunting50779/laravel-fast is a Laravel package for speed up the laravel framework with the swoole extension!.
It currently has 2 GitHub stars and 2 downloads on Packagist.
Install it with composer require wenjunting50779/laravel-fast.
Discover more Laravel packages by wenjunting50779
or browse all Laravel packages to compare alternatives.
Last updated
使用swoole加速laravel框架.
$ composer require wenjunting50779/laravel-fast
'providers' => [
//...
LaravelFast\ServiceProvider::class,
],
php artisan vendor:publish --provider="LaravelFast\ServiceProvider"
app/Console/Kerbel.php中加入
protected $commands = [
//...
LaravelFast\ManagerCommand::class,
],
$ php artisan laravel_fast help //获取帮助信息
,--,
,---.'|
| | : ,--, ,---,. ___
: : | ,--.'| ,' .' | ,--.'|_
| ' : __ ,-. | | : ,---,.,---.' | | | :,'
; ; ' ,' ,'/ /| .---. : : ' ,' .' || | .' .--.--. : : ' :
' | |__ ,--.--. ' | |' | ,--.--. /. ./| ,---. | ' | ,---.' ,: : : ,--.--. / / '.;__,' /
| | :.'| / \ | | ,'/ \ .-' . ' | / \ ' | | | | |: | |-, / \ | : /`./| | |
' : ;.--. .-. |' : / .--. .-. /___/ \: |/ / || | : : : .' | : ;/|.--. .-. | | : ;_ :__,'| :
| | ./ \__\/: . .| | ' \__\/: . . \ ' . ' / |' : |__ : |.' | | .' \__\/: . . \ \ `. ' : |__
; : ; ," .--.; |; : | ," .--.; |\ \ ' ; /|| | '.'|`---' ' : ' ," .--.; | `----. \| | '.'|
| ,/ / / ,. || , ; / / ,. | \ \ ' | / |; : ; | | | / / ,. | / /`--' /; : ;
'---' ; : .' \---' ; : .' \ \ \ | : || , / | : \ ; : .' \'--'. / | , /
| , .-./ | , .-./ '---" \ \ / ---`-' | | ,' | , .-./ `--'---' ---`-'
`--`---' `--`---' `----' `----' `--`---'
Usage:
[/usr/local/php/bin/php] artisan laravel_fast <service> <action>
Arguments:
service http_server|web_socket 开启的服务类型
action start|stop|restart|reload|help 开启/停止/重启/平滑重启/帮助信息
MIT