定制 thetwelvelabs/foursquare-service-provider 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 7
  • Watchers: 2
  • Forks: 2
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2012-11-07