corely / lamens by corely

Speed up your Lumen with Swoole
8
0
1
Package Data
Maintainer Username: corely
Maintainer Contact: liuwenbin1985@126.com (Wenbin Liu)
Package Create Date: 2018-03-23
Package Last Update: 2018-04-03
Language: PHP
License: MIT
Last Refreshed: 2024-04-11 03:14:40
Package Statistics
Total Downloads: 8
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 0
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

Lamens

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]