dev-master
9999999-dev http://github.com/panlogic/donate-api-laravelDONATE PHP library helper
MIT
The Requires
- php >=5.4.0
- guzzlehttp/guzzle 5.*
- illuminate/support 4.*|5.*
by David Wright
by Panlogic Ltd
api donate
Wallogit.com
2017 © Pedro Peláez
DONATE PHP library helper
DONATE is a PHP library class to make using the DONATE API easy, (*1)
To install DONATE as a Composer package, simply add this to your composer.json:, (*2)
"panlogic/donate": "dev-master"
..and run composer update. Once it's installed, if you're using Laravel 5, you can register the service provider in app/config/app.php in the providers array add :, (*3)
'Panlogic\DONATE\DonateServiceProvider',
You can also benefit from using a Facade in Laravel 5 by adding to the alias array also in app.php below the providers array, (*4)
'Donate' => 'Panlogic\DONATE\DonateFacade',
If you're using Laravel, publish the config file by running, (*5)
php artisan vendor:publish
This will create a panlogic.donate.php file in your Config directory, be sure to fill in the appropriate details provided by Donate., (*6)
If you aren't using Laravel then you can create a Donate object by:, (*7)
use Panlogic\DONATE\Donate;
$config = [
'live_apikey' => 'your-live-api-key-here',
'test_apikey' => 'your-test-api-key-here',
'platform' => 'test',
];
$donate = new Donate($config);
For more information about how to use the Donate class, read the Wiki, (*8)
Donate has been written by Panlogic Ltd and is released under the MIT License., (*9)
DONATE PHP library helper
MIT
api donate