Download the PHP package angejia/thrift-laravel without Composer
On this page you can find all versions of the php package angejia/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 angejia/thrift-laravel
- add provider to
app.providers
: ` - setting
thrift.providers
in fileconfig/thrift.php
: ` -
add Middleware
\Angejia\Thrift\Middleware\ThriftServerMiddleware::class
toapp\Http\Kernel
in default, the request to
/rpc
will be process by Middleware, if you want to change this, please extendThriftServerMiddleware
and overwriteprocess
method
Client side
composer require angejia/thrift-laravel
- add provider in
app.providers
: ` - setting
thrift.depends
in fileconfig/thrift.php
: ` - usage: `
TODO
- Unittest
All versions of thrift-laravel with dependencies
PHP Build Version
Package Version
Requires
php Version
>=7.0.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.*
angejia/thrift Version ^0.9.3.4
illuminate/http Version 5.1.*|5.2.*
illuminate/support Version 5.1.*|5.2.*
symfony/http-foundation Version 2.7.*|2.8.*|3.0.*
angejia/thrift Version ^0.9.3.4
The package angejia/thrift-laravel contains the following files
Loading the files please wait ....