deniztezcan / laravel-paynl
Laravel wrapper for Pay.nl PHP SDK
Installs: 8 761
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 1
Open Issues: 0
Requires
- php: ^8.0.2
- guzzlehttp/guzzle: ^6.3|^7.0
- illuminate/support: 5.4.*|5.5.*|5.6.*|5.7.*|5.8.*|6.*.*|7.*.*|8.*.*|9.*.*|10.*.*
- paynl/sdk: 2.*.*
Requires (Dev)
- phpunit/phpunit: ^4.8
This package is auto-updated.
Last update: 2024-10-30 01:59:40 UTC
README
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.