PHP Client for Swervpay

Installs: 14

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 0

Forks: 0

Open Issues: 0

pkg:composer/swervpaydev/sdk

v0.0.2 2024-02-21 13:36 UTC

This package is auto-updated.

Last update: 2025-09-19 11:37:56 UTC


README

Logo

PHP Client for Swervpay


Explore the docs »

X (Twitter) · Linkedin · Changelog

Installation

PHP 7.2+ and Composer are required.

To get the latest version of Swervpay PHP SDK, simply require it:

$ composer require swervpaydev/sdk

Configuration

Import the Swervpay class and create a new instance with your secret_key and business_id:

use Swervpaydev\SDK\Swervpay;

$config = [
    'secret_key' => '<SECRET_KEY>',
    'business_id' => '<BUSINESS_ID>'
];

$swervpay = new Swervpay($config);

Replace <SECRET_KEY> and <BUSINESS_ID> with your actual secret key and business ID.

Documentation

See docs for PHP here