ViDavh / lumen-gateway by ViDavh

Lumen package for connecting to gateways
7
1
1
Package Data
Maintainer Username: ViDavh
Maintainer Contact: vidavahdat98@gmail.com (Vida Vahdat)
Package Create Date: 2021-06-13
Package Last Update: 2021-06-13
Language: PHP
License: MIT
Last Refreshed: 2024-11-17 03:06:30
Package Statistics
Total Downloads: 7
Monthly Downloads: 0
Daily Downloads: 0
Total Stars: 1
Total Watchers: 1
Total Forks: 0
Total Open Issues: 0

lumen-gateway

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);