PHP code example of lsys / swoole-thrift

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

    

lsys / swoole-thrift example snippets


dome_thrift/src/Services/ 为具体服务实现
dome_thrift/dome_server.php 服务器端
dome_thrift/dome_client.php 客户端
dome_thrift/dome_client_go.php 协程连接池版客户端,建议使用此方式