PHP code example of swoft-fork / swoft

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

    

swoft-fork / swoft example snippets

bash
[root@swoft swoft]# php bin/swoft http:start
bash
[root@swoft swoft]# php bin/swoft ws:start
bash
[root@swoft swoft]# php bin/swoft rpc:start
bash
[root@swoft swoft]# php bin/swoft tcp:start
bash
[root@swoft swoft]# php bin/swoft process:start