PHPackages                             swoole-foundation/swoole-thrift - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. swoole-foundation/swoole-thrift

ActiveLibrary[API Development](/categories/api)

swoole-foundation/swoole-thrift
===============================

thrift framework on swoole server

1.0.0(6y ago)1017031MITPHP

Since May 17Pushed 6y ago1 watchersCompare

[ Source](https://github.com/swoole-foundation/swoole-thrift)[ Packagist](https://packagist.org/packages/swoole-foundation/swoole-thrift)[ RSS](/packages/swoole-foundation-swoole-thrift/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (2)Versions (2)Used By (1)

swoole-thrift
=============

[](#swoole-thrift)

基于基于swoole协程的thrift服务端。

基于thrift标准接口编程，使用方法与原生thrift一致。

version
-------

[](#version)

- swoole 4.x
- thrift 0.12

使用方法
----

[](#使用方法)

```
composer require swoole-foundation/swoole-thrift
```

示例代码
----

[](#示例代码)

- Server

    ```
