alexcode / laravel-sumup
Laravel 5.6 integration for the Sumup PHP SDK.
Installs: 1 056
Dependents: 0
Suggesters: 0
Security: 0
Stars: 5
Watchers: 3
Forks: 2
Open Issues: 1
Requires
- alexcode/sumup-php: ^0.0.5
Requires (Dev)
- phpunit/phpunit: ~6.0
This package is not auto-updated.
Last update: 2024-12-22 06:31:54 UTC
README
Install via composer
composer require alexcode/laravel-sumup
Add service provider ( Laravel 5.4 or below )
Add the service provider to the providers array in the config/app.php config file as follows:
'providers' => [ ... Alexcode\Sumup\Laravel\LaravelServiceProvider::class, ]
Publish the config
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 the .env vars
Add SUMUP_CLIENT_ID
and SUMUP_SECRET
in your .env
. You will find the values in https://me.sumup.com/developers