PHP code example of thinkcmf / cmf-swoole

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

    

thinkcmf / cmf-swoole example snippets


php think swoole

php think swoole -d

php think swoole stop

php think swoole -H 127.0.0.1

php think swoole --host=127.0.0.1

php think swoole --port=9502

php think swoole restart

php think swoole reload

php think swoole:api

php think swoole:api -d

php think swoole:api  stop

php think swoole:api   restart

php think swoole:api    reload