1. Go to this page and download the library: Download xiaowu/laraswoole 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/ */
xiaowu / laraswoole example snippets
laravel:5.5\5.8
php:>=7.2
swoole:>=4.0
$xslt
define('LARAVEL_START', microtime(true));
;
define('ROOT_PATH',dirname(__DIR__));
(new \Laraswoole\App()) ->run($argv);