philetaylor/teller-api

A Full PHP7+ API implementation for Teller.io

This package's canonical repository appears to be gone and the package has been frozen as a result.

dev-master 2017-06-11 15:04 UTC

This package is auto-updated.

Last update: 2023-03-21 19:23:24 UTC


README

A Full PHP7+ API implementation for Teller.io using Guzzle as middleware

Installation

Install with composer

composer require philetaylor/teller-api

Usage

<?php

require_once('vendor/autoload.php');

\Teller\Teller::setPersonalAccessToken('YOUR PERSONAL TOKEN');

//echo \Teller\Teller::getPersonalAccessToken();

//var_dump( \Teller\Teller::getAccounts());
\Teller\Teller::setAccount('12312312-9230-4b53-8423-1231b5f0ad0');
//var_dump( \Teller\Teller::getAccount());
//var_dump( \Teller\Teller::getAccount());
//var_dump( \Teller\Teller::getTransactions());
//var_dump( \Teller\Teller::getTransaction('cc918508-1111-4ee9-afa6-a1c615e08262', 'uuid-of-account-that-this-transaction-is-in'));
//var_dump( \Teller\Teller::getDirectDebits());
//var_dump( \Teller\Teller::getDirectDebit('023de905-2222-4a12-869c-e9a0414b8426'));
//var_dump( \Teller\Teller::getPayee('096cf26b-a559-3333-a8f0-84245fc9e137'));
//var_dump( \Teller\Teller::getPayees());
//var_dump( \Teller\Teller::getStandingOrders());