Skip to main content

Installation

Install the swervpay-laravel SDK in your Laravel application with Composer.
Shell

Configuration

You can publish the configuration file using this command:
Shell
Set SWERVPAYDEV_SECRET_KEY and SWERVPAYDEV_BUSINESS_ID in your .env file. Keep this file out of source control and never expose these values to browser code.

Usage

Laravel
After configuration, use the SDK from your controllers or jobs for server-side API calls. See the API Reference for the fields, response shapes, and lifecycle behavior of each operation.