Installation

Install swervpay-laravel sdk into your new or existing Laravel application using composer.

Shell
$ composer require swervpaydev/laravel

Configuration

You can publish the configuration file using this command:

Shell
$ php artisan vendor:publish --tag="swervpaydev-laravel-config"

Set SWERVPAYDEV_SECRET_KEY & SWERVPAYDEV_BUSINESS_ID value in your environmental variable file

Usage

Laravel
use Swervpaydev\SDK\Swervpay;