PHPackages                             figo/figo - 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. figo/figo

ActiveLibrary[API Development](/categories/api)

figo/figo
=========

API wrapper for figo Connect.

3.1.1(7y ago)3773.0k14[1 PRs](https://github.com/figo-connect/php-figo/pulls)MITPHPPHP &gt;=5.6.0

Since Apr 10Pushed 7y ago16 watchersCompare

[ Source](https://github.com/figo-connect/php-figo)[ Packagist](https://packagist.org/packages/figo/figo)[ Docs](https://github.com/figo-connect/php-figo)[ RSS](/packages/figo-figo/feed)WikiDiscussions master Synced today

READMEChangelog (9)Dependencies (4)Versions (20)Used By (0)

php-figo [![Build Status](https://camo.githubusercontent.com/1626e5c1ecd265b93bf13ae121157ac5e3fe61751aab1f37328b9965d07cd064/68747470733a2f2f7365637572652e7472617669732d63692e6f72672f6669676f2d636f6e6e6563742f7068702d6669676f2e706e67)](https://travis-ci.org/figo-connect/php-figo) [![Packagist Version](https://camo.githubusercontent.com/d29083b0c938b7a02a563a21d07de02806475fe26e4511bb1382ebfb18efc7f5/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6669676f2f6669676f2e737667)](https://packagist.org/packages/figo/figo)
==============================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================================

[](#php-figo--)

PHP bindings for the figo Connect API:

Usage
=====

[](#usage)

First, you've to add this to your [`composer.json`](http://getcomposer.org/) dependencies:

```
"require": {
  "figo/figo": "1.*"
}

```

and run

```
composer update
```

Now you can create a new session and access data:

```
require_once "vendor/autoload.php";

use figo\Session;

$session = new Session("ASHWLIkouP2O6_bgA2wWReRhletgWKHYjLqDaqb0LFfamim9RjexTo22ujRIP_cjLiRiSyQXyt2kM1eXU2XLFZQ0Hro15HikJQT_eNeT_9XQ");

// Print out list of account numbers and balances.
$accounts = $session->get_accounts();
foreach ($accounts as $account) {
    print($account->account_number."\n");
    print($account->balance->balance."\n");
}

// Print out the list of all transaction originators/recipients of a specific account.
$account = $session->get_account("A1.1");
$transactions = $account->get_transactions();
foreach ($transactions as $transaction) {
    print($transaction->name."\n");
}
```

It is just as simple to allow users to login through the API:

```
require_once "vendor/autoload.php";

use figo\Session;
use figo\Connection;
use Eloquent\Liftoff\Launcher;

$connection = new Connection("", "", "http://my-domain.org/redirect-url");

function start_login() {
    $launcher = new Launcher;
    $launcher->launch($connection->login_url("qweqwe"));
}

function process_redirect($authorization_code, $state) {
    // Handle the redirect URL invocation from the initial start_login call.

    // Ignore bogus redirects.
    if ($state !== "qweqwe") {
        return;
    }

    // Trade in authorization code for access token.
    $token_dict = $connection->obtain_access_token($authorization_code);

    // Start session.
    $session = new Session($token_dict["access_token"]);

    // Print out list of account numbers.
    $accounts = $session->get_accounts();
    foreach ($accounts as $account) {
        print($account->account_number."\n");
    }
}
```

Demos
-----

[](#demos)

In this repository you can also have a look at a simple console (`console_demo.php`) and web demo (`web_demo` folder). While the console demo simply accesses the figo API, the web demo implements the full OAuth flow.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity37

Limited adoption so far

Community25

Small or concentrated contributor base

Maturity67

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~113 days

Recently: every ~130 days

Total

17

Last Release

2556d ago

Major Versions

1.3.0 → 3.0.02018-02-26

PHP version history (2 changes)1.0.2PHP &gt;=5.3.2

1.1.7PHP &gt;=5.6.0

### Community

Maintainers

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

---

Top Contributors

[![PhillippOhlandt](https://avatars.githubusercontent.com/u/3123549?v=4)](https://github.com/PhillippOhlandt "PhillippOhlandt (26 commits)")[![berend](https://avatars.githubusercontent.com/u/673681?v=4)](https://github.com/berend "berend (20 commits)")[![angerits](https://avatars.githubusercontent.com/u/1536540?v=4)](https://github.com/angerits "angerits (16 commits)")[![mrh-line](https://avatars.githubusercontent.com/u/2140926?v=4)](https://github.com/mrh-line "mrh-line (8 commits)")[![mfilenko](https://avatars.githubusercontent.com/u/199476?v=4)](https://github.com/mfilenko "mfilenko (3 commits)")[![02strich](https://avatars.githubusercontent.com/u/44383?v=4)](https://github.com/02strich "02strich (3 commits)")[![achimsen](https://avatars.githubusercontent.com/u/1866843?v=4)](https://github.com/achimsen "achimsen (2 commits)")[![javaes](https://avatars.githubusercontent.com/u/1131529?v=4)](https://github.com/javaes "javaes (2 commits)")[![christianhuening](https://avatars.githubusercontent.com/u/738953?v=4)](https://github.com/christianhuening "christianhuening (2 commits)")[![mawie86](https://avatars.githubusercontent.com/u/8505573?v=4)](https://github.com/mawie86 "mawie86 (2 commits)")[![TimoDJatomika](https://avatars.githubusercontent.com/u/7040487?v=4)](https://github.com/TimoDJatomika "TimoDJatomika (1 commits)")[![cypherfox](https://avatars.githubusercontent.com/u/1402986?v=4)](https://github.com/cypherfox "cypherfox (1 commits)")[![janpio](https://avatars.githubusercontent.com/u/183673?v=4)](https://github.com/janpio "janpio (1 commits)")[![jonashaag](https://avatars.githubusercontent.com/u/175722?v=4)](https://github.com/jonashaag "jonashaag (1 commits)")[![PATROMO](https://avatars.githubusercontent.com/u/318564?v=4)](https://github.com/PATROMO "PATROMO (1 commits)")[![Roritharr](https://avatars.githubusercontent.com/u/561299?v=4)](https://github.com/Roritharr "Roritharr (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/figo-figo/health.svg)

```
[![Health](https://phpackages.com/badges/figo-figo/health.svg)](https://phpackages.com/packages/figo-figo)
```

###  Alternatives

[geocoder-php/chain-provider

Geocoder chain adapter

1046.6M13](/packages/geocoder-php-chain-provider)[wtfzdotnet/php-tmdb-api

PHP wrapper for TMDB (TheMovieDatabase) API v3. Supports two types of approaches, one modelled with repositories, models and factories. And the other by simple array access to RAW data from The Movie Database.

4242.9k](/packages/wtfzdotnet-php-tmdb-api)

PHPackages © 2026

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