mboateng/sppay-laravel

An application that helps you easily integrate with SSPAY Payment APIs

Installs: 3

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/mboateng/sppay-laravel

1.01 2025-03-27 22:46 UTC

This package is auto-updated.

Last update: 2025-09-28 17:38:46 UTC


README

Installation

Require this package in your composer.json and update composer

  1. composer require sppay/sspay-laravel
    Run the following command to install the package in your project:

    composer require sppay/sspay-laravel
  2. Publish Config files
    Copy packages config file to your own config directory to modify the values where necessary

    php artisan vendor:publish --tag=sppay-config
  3. Publish View files
    Run the command below to copy the views in your vendor/view dir:

    php artisan vendor:publish --tag=sppay-views
  4. Publish Migrations
    Copy the migration files into your migrations dir:

    php artisan vendor:publish --tag=sppay-migrations 
  5. Run Migrations
    Migrate the package's migrations files you just copied

    php 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=