mboateng / sppay-laravel
An application that helps you easily integrate with SSPAY Payment APIs
This package is auto-updated.
Last update: 2025-07-28 17:17:38 UTC
README
Installation
Require this package in your composer.json and update composer
-
composer require sppay/sspay-laravel
Run the following command to install the package in your project:composer require sppay/sspay-laravel
-
Publish Config files
Copy packages config file to your own config directory to modify the values where necessaryphp artisan vendor:publish --tag=sppay-config
-
Publish View files
Run the command below to copy the views in your vendor/view dir:php artisan vendor:publish --tag=sppay-views
-
Publish Migrations
Copy the migration files into your migrations dir:php artisan vendor:publish --tag=sppay-migrations
-
Run Migrations
Migrate the package's migrations files you just copiedphp artisan migrate
Update the .env file with the appropriate values for your setup.
AUTH_CLIENT_GRANT_TYPE=
AUTH_CLIENT_ID=
AUTH_CLIENT_SECRET=
AUTH_CLIENT_USERNAME=
AUTH_CLIENT_PASSWORD=
SPPAY_BASE_URL=