tamerhassan/october-fly

Make OctoberCMS faster by using swoole extension.

v0.8 2018-09-15 16:07 UTC

This package is not auto-updated.

Last update: 2024-04-22 06:21:01 UTC


README

OctoberFly aims to make OctoberCMS faster by using Swoole extension.

Version Compatibility

  • OctoberCMS (Laravel 5.5.* under the hood)
  • Swoole >4.0

Based on: LaravelFly

PHP Setup Requirements

  1. Install swoole extension pecl install swoole

Make sure swoole is included in php.ini file. extension=swoole.so

Also Suggested:

pecl install inotify

  1. composer require "tamerhassan/october-fly":"dev-master"

Quick Start

  1. Add the following line to your 'providers' array in config/app.php
'OctoberFly\Providers\ServiceProvider',
  1. Publish server config
php artisan vendor:publish --tag=fly-server
  1. Publish app config
php artisan vendor:publish --tag=fly-app
  1. Finally you can start the server:
php vendor/tamerhassan/october-fly/bin/fly start