Package Data | |
---|---|
Maintainer Username: | NikJaySix |
Maintainer Contact: | hello@nikjaysix.com.au (Nicole Jay) |
Package Create Date: | 2017-09-11 |
Package Last Update: | 2019-01-13 |
Language: | PHP |
License: | MIT |
Last Refreshed: | 2024-11-23 03:09:07 |
Package Statistics | |
---|---|
Total Downloads: | 37 |
Monthly Downloads: | 1 |
Daily Downloads: | 0 |
Total Stars: | 0 |
Total Watchers: | 1 |
Total Forks: | 0 |
Total Open Issues: | 0 |
This is a wrapper using the noetix/pin-php library for the Pin Payments API. It creates a service provider and facade for autoloading into laravel.
Install the nikjaysix/laravel-pinpayments
package
$ composer require nikjaysix/laravel-pinpayments
Update config/app.php
to activate the LaravelPinPayments package
# Add `LaravelPinPaymentsServiceProvider` to the `providers` array
'providers' => array(
...
NikJaySix\LaravelPinPayments\LaravelPinPaymentsServiceProvider::class,
)
# Add the `LaravelPinPaymentsFacade` to the `aliases` array
'aliases' => array(
...
'PinPayments' => NikJaySix\LaravelPinPayments\LaravelPinPaymentsFacade::class
)
Generate a PinPayments config file
$ php artisan vendor:publish
Update app/config/chargify.php
with your Pin Payments API credentials
return array(
'key' => ''
);