xstech/l5-paypal

Simple Laravel 5 Paypal SDK wrapper

v1.0 2017-11-02 14:06 UTC

This package is not auto-updated.

Last update: 2024-05-13 08:04:23 UTC


README

L5-Paypal is a wrapper package encapsulating Paypal REST API SDK.

Installation

  1. Install package using Composer composer require xstech/l5-paypal

  2. Next, add the service provider to app/config/app.php in the providers array.

'providers' => [
    XSTech\L5Paypal\L5PaypalServiceProvider::class,
]
  1. Add an alias to app/config/app.php in the aliases array.
'aliases' => [
    'Paypal' => XSTech\L5Paypal\Facades\Paypal::class,
]
  1. Finally, publish package config.

php artisan vendor:publish --provider="XSTech\L5Paypal\L5PaypalServiceProvider"