deniztezcan/laravel-paynl

Laravel wrapper for Pay.nl PHP SDK

1.1.0 2023-03-01 22:30 UTC

This package is auto-updated.

Last update: 2024-10-30 01:59:40 UTC


README

Laravel wrapper for Pay.nl PHP SDK

Latest Stable Version Total Downloads StyleCI License

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.