apruve/apruve-php

Apruve PHP Library to support apruve.js.

v1.4.1 2019-10-04 21:18 UTC

This package is not auto-updated.

Last update: 2024-04-11 13:47:29 UTC


README

Innovation in the world of B2B Payments. apruve-php is a library to help integrate apruve.js into your website.

The easiest way to learn how to use this libarary is to grab a clone of our PHP Demo Store project. You can have a demo store up and running in a few minutes.

For an overview of the Apruve integration APIs, see our Developer Docs

Issues

Please use Github issues to request features or report bugs.

Installation

Composer

Add this require to your composer.json:

"require": {
  "apruve/apruve-php": "~1.4.1"
}

NOTE: Be sure to update the version as you update the version of apruve-php

Then run composer install:

$ composer install

Testing

$ vendor/bin/phpunit tests/

If you'd like to contribute, use the observr ruby gem to assist.

$ gem install observr
$ watchr ./autotest_observr.rb

Contributing

  1. Fork it
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Write your code and tests
  4. Ensure all tests still pass
  5. Commit your changes (git commit -am 'Add some feature')
  6. Push to the branch (git push origin my-new-feature)
  7. Create new pull request