PHPackages                             thetwelvelabs/foursquare-service-provider - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. thetwelvelabs/foursquare-service-provider

ActiveLibrary[API Development](/categories/api)

thetwelvelabs/foursquare-service-provider
=========================================

Foursquare API Client for the Silex Framework

v0.1.0(13y ago)72902MITPHPPHP &gt;=5.3.3

Since Feb 26Pushed 13y ago2 watchersCompare

[ Source](https://github.com/chriswoodford/FoursquareServiceProvider)[ Packagist](https://packagist.org/packages/thetwelvelabs/foursquare-service-provider)[ Docs](http://thetwelvelabs.com)[ RSS](/packages/thetwelvelabs-foursquare-service-provider/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependencies (2)Versions (3)Used By (0)

Foursquare API Client Service Provider (Silex) by TheTwelve Labs
================================================================

[](#foursquare-api-client-service-provider-silex-by-thetwelve-labs)

==================================================================

A Silex Service Provider for our Foursquare API Client

Installation
------------

[](#installation)

---

[Composer](http://getcomposer.org) is currently the only way to install the foursquare client into your project.

### Create your composer.json file

[](#create-your-composerjson-file)

```
  {
      "require": {
          "thetwelvelabs/foursquare-service-provider": "dev-master@dev"
      }
  }

```

### Download composer into your application root

[](#download-composer-into-your-application-root)

```
  $ curl -s http://getcomposer.org/installer | php

```

### Install your dependencies

[](#install-your-dependencies)

```
  $ php composer.phar install

```

Usage
-----

[](#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](https://github.com/chriswoodford/foursquare-php)

```
  $factory = $app['foursquare'];

```

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 94.1% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~63 days

Total

2

Last Release

4814d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/a2d84b3d83f9fbf406a9702429df0cfb0b904836d86cc13870a31d5ead9f1597?d=identicon)[chriswoodford](/maintainers/chriswoodford)

---

Top Contributors

[![chriswoodford](https://avatars.githubusercontent.com/u/249055?v=4)](https://github.com/chriswoodford "chriswoodford (16 commits)")[![igorw](https://avatars.githubusercontent.com/u/88061?v=4)](https://github.com/igorw "igorw (1 commits)")

---

Tags

silexfoursquare

### Embed Badge

![Health badge](/badges/thetwelvelabs-foursquare-service-provider/health.svg)

```
[![Health](https://phpackages.com/badges/thetwelvelabs-foursquare-service-provider/health.svg)](https://phpackages.com/packages/thetwelvelabs-foursquare-service-provider)
```

###  Alternatives

[thetwelvelabs/foursquare

Foursquare API Client

3791.7k1](/packages/thetwelvelabs-foursquare)[tobiassjosten/facebook-service-provider

Silex ServiceProvider for the Facebook SDK

266.1k](/packages/tobiassjosten-facebook-service-provider)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
