PHP code example of cydrickn / swoole-runtime

1. Go to this page and download the library: Download cydrickn/swoole-runtime 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/ */

    

cydrickn / swoole-runtime example snippets

bash
APP_RUNTIME=\\Cydrickn\\Runtime\\Runtime php ./public/index.php
bash
composer 
bash
php ./public/index.php