PHP code example of vidavh / lumen-gateway
1. Go to this page and download the library: Download vidavh/lumen-gateway library. Choose the download type require. 2. Extract the ZIP file and open the index.php. 3. Add this code to the index.php.
<?php
require_once('vendor/autoload.php');
/* Start to develop here. Best regards https://php-download.com/ */
vidavh / lumen-gateway example snippets
class_alias(\Vidavh\Gateway\Gateway::class, 'Gateway');
or
$app->withFacades(true, [
'Vidavh\Gateway\Gateway' => 'Gateway',
]);
$app->configure('gateway');
$app->register(\Vidavh\Gateway\PaymentServiceProvider::class);