Download the PHP package armorpayments/armorpayments-php without Composer
On this page you can find all versions of the php package armorpayments/armorpayments-php. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download armorpayments/armorpayments-php
More information about armorpayments/armorpayments-php
Files in armorpayments/armorpayments-php
Package armorpayments-php
Short Description A PHP client library for interacting with the Armor Payments API
License MIT
Homepage http://www.armorpayments.com
Informations about the package armorpayments-php
ArmorPayments
This is intended to be a clean, idiomatic client for the Armor Payments API. This will handle generating the authenticated headers and constructing the properly nested request URI, as well as parsing any response JSON for you.
Installation
You can install using source.
Composer
If you don't have Composer install it:
Add this to your composer.json
:
Refresh your dependencies:
$ php composer.phar update
Then make sure to require
the autoloader:
Source
Download the armor-payments-php source:
And then require
all bootstrap files:
Quickstart
Usage
The Armor Payments API is REST-ish and nested, so the client relies on chaining. We return an object (or array of objects) decoded from the JSON response if possible.
Some of the resource endpoints support Create/Update POST
operations, and this client aims to support those as well:
Contributing
- Fork it
- Create your feature branch (
git checkout -b my-new-feature
) - Commit your changes (
git commit -am 'Add some feature'
) - Push to the branch (
git push origin my-new-feature
) - Create new Pull Request
All versions of armorpayments-php with dependencies
lib-curl Version *