Skip to content
PHP library for FedaPay Api
PHP Shell
Branch: master
Clone or download
Latest commit ce7b66d Jul 29, 2019
Permalink
Type Name Latest commit message Commit time
Failed to load latest commit information.
data Init repository May 14, 2018
lib Fix no autoload tests Jul 29, 2019
tests Fix no autoload tests Jul 29, 2019
.editorconfig Add editor config Nov 2, 2018
.gitignore Init repository May 14, 2018
.travis.yml REmove comments Jul 25, 2019
Jenkinsfile Init repository May 14, 2018
LICENSE Update licence Nov 9, 2018
README.md Update documentation Sep 18, 2018
build.php Fix build issue Jul 29, 2019
composer.json Fix build.php script Jul 29, 2019
init.php Fix no autoload tests Jul 29, 2019
jenkins-ci.sh Init repository May 14, 2018
phpunit.no_autoload.xml Fix no autoload tests Jul 29, 2019
phpunit.xml Fix no autoload tests Jul 29, 2019

README.md

FedaPay PHP Build Status

You can sign up for a FedaPay account at https://fedapay.com.

Requirements

PHP 5.5 and later.

Composer

You can install the bindings via Composer. Run the following command:

composer require fedapay/fedapay-php

To use the bindings, use Composer's autoload:

require_once('vendor/autoload.php');

Manual Installation

If you do not wish to use Composer, you can download the latest release. Then, to use the bindings, include the init.php file.

require_once('/path/to/fedapay-php/init.php');

Dependencies

The bindings require the following extension in order to work properly:

  • curl, although you can use your own non-cURL client if you prefer
  • json
  • mbstring (Multibyte String)

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.

Getting Started

Simple usage looks like:

Documentation

Please see https://docs.fedapay.com/development/api for up-to-date documentation.

Development

Install dependencies:

composer install

Tests

Install dependencies as mentioned above (which will resolve PHPUnit), then you can run the test suite:

./vendor/bin/phpunit

Or to run an individual test file:

./vendor/bin/phpunit tests/UtilTest.php
You can’t perform that action at this time.