library thrift-silex
thrift service provider for silex
eleme/thrift-silex
thrift service provider for silex
- Sunday, September 28, 2014
- by thbourlove
- Repository
- 0 Watchers
- 0 Stars
- 2,876 Installations
- PHP
- 0 Dependents
- 0 Suggesters
- 0 Forks
- 0 Open issues
- 4 Versions
- 0 % Grown
Thrift-Silex
, (*1)
thrift service provider for silex framework., (*2)
Install With Composer:
"require": {
"eleme/thrift-silex": "~0.1"
}
Example:
use Silex\Application;
use Eleme\Thrift\Provider\Silex\ThriftServiceProvider;
$app = new Application;
$app->register(new ThriftServiceProvider);
$app['thrift.options'] = array(
'foo' => array(
'server' => 'foo_host',
'port' => 12345,
'client' => 'FooClient'
),
'bar' => array(
'server' => 'bar_host',
'port' => 12346,
'client' => 'BarClient'
),
);
$app['thrift.clients']['foo']->api();
$app['thrift.clients']['bar']->api();
dev-master
9999999-dev
thrift service provider for silex
Sources
Download
MIT
The Requires
The Development Requires
by
Hongbo Tang
v0.1.2
0.1.2.0
thrift service provider for silex
Sources
Download
MIT
The Requires
The Development Requires
by
Hongbo Tang
v0.1.1
0.1.1.0
thrift service provider for silex
Sources
Download
MIT
The Requires
The Development Requires
by
Hongbo Tang
v0.1.0
0.1.0.0
thrift service provider for silex
Sources
Download
MIT
The Requires
The Development Requires
by
Hongbo Tang