You can sign up for a FedaPay account at https://fedapay.com.
PHP 5.5 and later.
You can install the bindings via Composer. Run the following command:
composer require fedapay/fedapay-php
To use the bindings, use Composer's autoload:
If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the
The bindings require the following extension in order to work properly:
If you use Composer, these dependencies should be handled automatically. If you install manually, you'll want to make sure that these extensions are available.
Simple usage looks like:
Please see https://docs.fedapay.com/development/api for up-to-date documentation.
Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:
Or to run an individual test file: