Laravel 5.6 integration for the Sumup PHP SDK.
alexcode/laravel-sumup is a Laravel package for laravel 5.6 integration for the sumup php sdk..
It currently has 5 GitHub stars and 1.061 downloads on Packagist (latest version v0.0.6).
Install it with composer require alexcode/laravel-sumup.
Discover more Laravel packages by alexcode
or browse all Laravel packages to compare alternatives.
Last updated
composer require alexcode/laravel-sumup
Add the service provider to the providers array in the config/app.php config file as follows:
'providers' => [
...
Alexcode\Sumup\Laravel\LaravelServiceProvider::class,
]
Run the following command to publish the package config file:
php artisan vendor:publish --provider="Alexcode\Sumup\Laravel\LaravelServiceProvider::class"
You should now have a config/sumup.php file that allows you to configure the basics of this package.
Add SUMUP_CLIENT_ID and SUMUP_SECRET in your .env. You will find the values in https://me.sumup.com/developers