Skip to content

NikJaySix/Laravel-PinPayments

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Pin Payments Wrapper for Laravel 5.+

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.

How to Install

Laravel 5.+

  1. Install the nikjaysix/laravel-pinpayments package

    $ composer require nikjaysix/laravel-pinpayments
  2. 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
    )
  3. Generate a PinPayments config file

    $ php artisan vendor:publish
  4. Update app/config/chargify.php with your Pin Payments API credentials

    return array(
        'key' => ''
    );

Example Usage

About

Laravel 5 wrapper for neotix/pin-payments php api library.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages