Skip to content

deniztezcan/laravel-paynl

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

21 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Laravel PayNL

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.