Skip to main content

Documentation Index

Fetch the complete documentation index at: https://docs.swervpay.co/llms.txt

Use this file to discover all available pages before exploring further.

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;