2017 © Pedro Peláez
 

library donate

DONATE PHP library helper

image

panlogic/donate

DONATE PHP library helper

  • Tuesday, October 3, 2017
  • by panlogic
  • Repository
  • 3 Watchers
  • 2 Stars
  • 67 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 1 Versions
  • 0 % Grown

The README.md

DONATE

DONATE is a PHP library class to make using the DONATE API easy, (*1)

Composer

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',

Documentation

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)

The Versions

03/10 2017

dev-master

9999999-dev http://github.com/panlogic/donate-api-laravel

DONATE PHP library helper

  Sources   Download

MIT

The Requires

 

by Panlogic Ltd

api donate