PHP code example of explore-pu / lumen-swoole
1. Go to this page and download the library: Download explore-pu/lumen-swoole library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
explore-pu / lumen-swoole example snippets
$app->register(LumenSwoole\SwooleServiceProvider::class);
$app->configure('swoole');
shell
php artisan swoole:publish
shell
php artisan swoole:http start|restart|stop|reload|status
php artisan swoole:websocket start|restart|stop|reload|status