thetwelvelabs/foursquare-service-provider
最新稳定版本:v0.1.0
Composer 安装命令:
composer require thetwelvelabs/foursquare-service-provider
包简介
Foursquare API Client for the Silex Framework
关键字:
README 文档
README
==================================================================
A Silex Service Provider for our Foursquare API Client
https://github.com/chriswoodford/foursquare-php
Installation
Composer is currently the only way to install the foursquare client into your project.
Create your composer.json file
{
"require": {
"thetwelvelabs/foursquare-service-provider": "dev-master@dev"
}
}
Download composer into your application root
$ curl -s http://getcomposer.org/installer | php
Install your dependencies
$ php composer.phar install
Usage
Register the service provider
$app->register(new TheTwelve\Foursquare\Silex\FoursquareServiceProvider(), array(
'foursquare.version' => 2,
'foursquare.endpoint' => 'https://api.foursquare.com',
'foursquare.clientKey' => 'symfony',
));
Get an instance of the TheTwelve\Foursquare\ApiGatewayFactory
$factory = $app['foursquare'];
统计信息
- 总下载量: 290
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 7
- 点击次数: 2
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2012-11-07