OctoberFly aims to make OctoberCMS faster by using Swoole extension.
- OctoberCMS (Laravel 5.5.* under the hood)
- Swoole >4.0
Based on: LaravelFly
- Install swoole extension
pecl install swoole
Make sure swoole is included in php.ini file.
extension=swoole.so
Also Suggested:
pecl install inotify
composer require "tamerhassan/october-fly":"dev-master"
- Add the following line to your 'providers' array in
config/app.php
'OctoberFly\Providers\ServiceProvider',
- Publish server config
php artisan vendor:publish --tag=fly-server
- Publish app config
php artisan vendor:publish --tag=fly-app
- Finally you can start the server:
php vendor/tamerhassan/october-fly/bin/fly start