Download the PHP package harmonic/ezypay without Composer
On this page you can find all versions of the php package harmonic/ezypay. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download harmonic/ezypay
More information about harmonic/ezypay
Files in harmonic/ezypay
Package ezypay
Short Description A PHP SDK for the Ezypay v2.0 API
License MIT
Homepage https://github.com/harmonic/ezypay
Informations about the package ezypay
Ezypay PHP SDK
A Laravel/PHP SDK for the Ezypay v2 API. Take a look at contributing.md to see a to do list.
Installation
Via Composer
Publish config file
Alias
Optionally add Ezypay alias tp app.php config file:
Usage
Add Ezypay credentials to your .env file
All Ezypay API methods are availble via the Ezypay facade.
Simply call
Where methodName is any method from https://developer.ezypay.com/reference eg. createCustomer(), getCustomers()
Testing Facade
There is a testing facade available for your tests that will return fake data. In your tests:
Then use Ezypay facade as normal.
Change log
Please see the changelog for more information on what has changed recently.
Tests
Add a .env file containing your Ezypay details, then:
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Craig Harman
- All Contributors
License
MIT. Please see the license file for more information.
All versions of ezypay with dependencies
guzzlehttp/guzzle Version ~6.0
bensampo/laravel-enum Version ^1.19