cyrulik / barclays-efinance-api-library

A PHP library for interacting with the Barclays Bank eFinance API

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Barclays eFinance API Library

A PHP library for interacting with the Barclays Bank eFinance API, for submitting new finance proposals to their online system (and receiving updates to proposals). The eFinance system is part of the Barclays Partner Finance package, and you can get more information from their website: http://www.barclayspartnerfinance.com/business/retail/service.html

The package is written in PHP and uses SOAP to send data to the API. All you need to do is construct simple arrays which are passed to the library and you're done.

<?
$bef = new bef_proposalEnquiry();

$bef->add_data('ClientReference', 'A4');
$bef->add_data('ProposalID', 8323);

$bef->call();
?>

Installing with Composer

You can add the source files to your application with composer which eliminates the need to require the files, enabling the classes to be called at any time.

Add appliedorder/barclays-efinance-api-library to the contents of your composer.json:

{
    "require": {
        "appliedorder/barclays-efinance-api-library": ">=0.1.0"
    }
}

License

Copyright (c) 2014 Ben Griffiths (http://www.appliedorder.com)

Licensed under the MIT License (http://www.opensource.org/licenses/mit-license.php)

About

A PHP library for interacting with the Barclays Bank eFinance API

License:MIT License


Languages

Language:PHP 97.4%Language:CSS 2.6%