vidavh / lumen-gateway
Lumen package for connecting to gateways
v1.0.2
2021-06-13 23:19 UTC
Requires
README
This package is copied from larabook and made changes to compatible with Lumen .
Installation
First, install the package via Composer:
composer require vidavh/lumen-gateway
- register facade:
class_alias(\Vidavh\Gateway\Gateway::class, 'Gateway'); or $app->withFacades(true, [ 'Vidavh\Gateway\Gateway' => 'Gateway', ]);
- register config:
$app->configure('gateway');
- register service provider:
$app->register(\Vidavh\Gateway\PaymentServiceProvider::class);