Download the PHP package sunlong/thrift-laravel without Composer
On this page you can find all versions of the php package sunlong/thrift-laravel. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package thrift-laravel
thrift-laravel
use Thrift in Laravel
How to use
Server side
composer require sunlong/thrift-laravel- add provider to
app.providers: ` - setting
thrift.providersin fileconfig/thrift.php: ` -
add Middleware
\sunlong\Thrift\Middleware\ThriftServerMiddleware::classtoapp\Http\Kernelin default, the request to
/rpcwill be process by Middleware, if you want to change this, please extendThriftServerMiddlewareand overwriteprocessmethod
Client side
composer require sunlong/thrift-laravel- add provider in
app.providers: ` - setting
thrift.dependsin fileconfig/thrift.php: ` - usage: `
TODO
- Unittest
All versions of thrift-laravel with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.6.0
illuminate/http Version 5.1.*|5.2.*
illuminate/support Version 5.1.*|5.2.*
symfony/http-foundation Version 2.7.*|2.8.*|3.0.*
sunlong/thrift Version ^0.9.3.5
illuminate/http Version 5.1.*|5.2.*
illuminate/support Version 5.1.*|5.2.*
symfony/http-foundation Version 2.7.*|2.8.*|3.0.*
sunlong/thrift Version ^0.9.3.5
The package sunlong/thrift-laravel contains the following files
Loading the files please wait ...