laravel-paynl maintained by deniztezcan
Description
Laravel wrapper for Pay.nl PHP SDK
Author
Last update
2023/03/01 23:30
(dev-master)
License
Downloads
9 063
Laravel PayNL
Laravel wrapper for Pay.nl PHP SDK
Instalation
composer require deniztezcan/laravel-paynl
Add a ServiceProvider to your providers array in config/app.php:
'providers' => [
//other things here
DenizTezcan\LaravelPayNL\PayNLServiceProvider::class,
];
Add the facade to the facades array:
'aliases' => [
//other things here
'PayNL' => DenizTezcan\LaravelPayNL\Facades\PayNL::class,
];
Finally, publish the configuration files:
php artisan vendor:publish --provider="DenizTezcan\LaravelPayNL\PayNLServiceProvider"
Configuration
Please set the PAYNL_TOKENCODE, PAYNL_APITOKEN, PAYNL_SERVICEID and PAYNL_TESTMODE key in your .env file.