2017 © Pedro Peláez
 

library mondo-client

A PHP Mondo Bank Client

image

thepixeldeveloper/mondo-client

A PHP Mondo Bank Client

  • Wednesday, April 27, 2016
  • by ThePixelDeveloper
  • Repository
  • 1 Watchers
  • 5 Stars
  • 12 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 1 Forks
  • 1 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Thepixeldeveloper\Mondo

Author Version Status Software License Packagist Version SensioLabsInsight Scrutinizer Code Quality, (*1)

A Mondo Bank API Client - https://getmondo.co.uk/docs, (*2)

This library is an MVP and only supports the basic functionality.
Doesn't yet support pagination, expansions and file uploads. Pull requests happily accepted., (*3)

Install

``` bash composer require thepixeldeveloper/mondo-client, (*4)


Quick start ----- ``` php // Get an instance of the Guzzle client $guzzleClient = (new Thepixeldeveloper\Mondo\GuzzleClientFactory(getenv('ACCESS_TOKEN')))->getClient(); // and create a Mondo client $client = new Thepixeldeveloper\Mondo\Client($guzzleClient, SerializerBuilder::create()->build()); // Pass the client into the relevant Client class. $ping = new Thepixeldeveloper\Mondo\Client\Ping($client); // Response is of the type Thepixeldeveloper\Mondo\Response\Ping\WhoAmI $response = $ping->whoAmI();

Accounts

``` php $accounts = new Thepixeldeveloper\Mondo\Client\Accounts($client); $accounts->getAccounts();, (*5)


Balance ----- ``` php $balance = new Thepixeldeveloper\Mondo\Client\Balance($client); $balance->getBalanceForAccountId(123);

Transactions

``` php $transactions = new Thepixeldeveloper\Mondo\Client\Transactions($client); $transactions->getTransactionsForAccountId(123); $transactions->getTransaction(456);, (*6)


OAuth 2 ----- I've decided to leave out authentication for the MVP. Use a library like [League/oauth2-client](http://oauth2-client.thephpleague.com/) to get yourself an access token. Testing ----- Run the phpSpec tests with ... ``` bash composer test

The Versions

27/04 2016

dev-feature/developer-experience

dev-feature/developer-experience

A PHP Mondo Bank Client

  Sources   Download

MIT

The Requires

 

The Development Requires

api client bank mondo

21/03 2016

dev-master

9999999-dev

A PHP Mondo Bank Client

  Sources   Download

MIT

The Requires

 

The Development Requires

api client bank mondo

04/03 2016

0.0.1

0.0.1.0

A PHP Mondo Bank Client

  Sources   Download

MIT

The Requires

 

The Development Requires

api client bank mondo