corely/lamens

Speed up your Lumen with Swoole

v0.1.0 2018-03-30 09:17 UTC

This package is not auto-updated.

Last update: 2024-04-28 21:54:46 UTC


README

Speed up your Lumen with Swoole

Latest Stable Version Total Downloads Latest Unstable Version License Build Status

Requirements

Dependency Requirement
PHP >= 7.1.3
Swoole >= 2.0.7
Lumen >= 5.6.2

Install

  • Add lamens to you composer.json file and run composer update:
"corely/lamens": "dev-master"

or just run shell command:

composer require corely/lamens
  • Register Lumen service provider, add the code to your bootstrap/app.php:
$app->register(\Lamens\Providers\LamensServiceProvider::class);
  • Publish configuration
php artisan vendor:publish --provider="Lamens\Providers\LamensServiceProvider"

Usage

php artisan lamens [start | stop | restart | status | reload | reload_task]