PHPackages                             swervpaydev/sdk - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Payment Processing](/categories/payments)
4. /
5. swervpaydev/sdk

ActiveLibrary[Payment Processing](/categories/payments)

swervpaydev/sdk
===============

PHP Client for Swervpay

v0.0.2(2y ago)1141MITPHPPHP ^8.1.0

Since Feb 7Pushed 2y agoCompare

[ Source](https://github.com/Swerv-Ltd/swervpay-php)[ Packagist](https://packagist.org/packages/swervpaydev/sdk)[ RSS](/packages/swervpaydev-sdk/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (1)Versions (3)Used By (1)

 [   ![Logo](https://avatars.githubusercontent.com/u/108650375?s=200&v=4)  ](https://swervpay.co)

PHP Client for Swervpay
=======================

[](#php-client-for-swervpay)

 [**Explore the docs »**](https://docs.swervpay.co)

 [X (Twitter)](https://twitter.com/swyftpay_io) · [Linkedin](https://www.linkedin.com/company/swervltd) · [Changelog](https://docs.swervpay.co/changelog)

Installation
============

[](#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
=============

[](#configuration)

Import the Swervpay class and create a new instance with your secret\_key and business\_id:

```
use Swervpaydev\SDK\Swervpay;

$config = [
    'secret_key' => '',
    'business_id' => ''
];

$swervpay = new Swervpay($config);
```

Replace &lt;SECRET\_KEY&gt; and &lt;BUSINESS\_ID&gt; with your actual secret key and business ID.

Documentation
-------------

[](#documentation)

See [docs for PHP here](https://docs.swervpay.co/sdks/php)

###  Health Score

21

—

LowBetter than 18% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity42

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~13 days

Total

2

Last Release

862d ago

PHP version history (2 changes)0.0.1PHP ^7.2|^8.0

v0.0.2PHP ^8.1.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8fa8f004c21c74eb9a8c195516eb6dc75307adf7942ff9df3b36c55e48a10576?d=identicon)[Mujhtech](/maintainers/Mujhtech)

---

Top Contributors

[![Mujhtech](https://avatars.githubusercontent.com/u/41507005?v=4)](https://github.com/Mujhtech "Mujhtech (11 commits)")

---

Tags

issuingpayoutphpphp8swervpayswyftpayidentitycardpayoutissuingPayinSwyftpaySwervpay

### Embed Badge

![Health badge](/badges/swervpaydev-sdk/health.svg)

```
[![Health](https://phpackages.com/badges/swervpaydev-sdk/health.svg)](https://phpackages.com/packages/swervpaydev-sdk)
```

###  Alternatives

[aws/aws-sdk-php

AWS SDK for PHP - Use Amazon Web Services in your PHP project

6.3k543.5M2.6k](/packages/aws-aws-sdk-php)[neuron-core/neuron-ai

The PHP Agentic Framework.

2.0k656.1k38](/packages/neuron-core-neuron-ai)[tencentcloud/tencentcloud-sdk-php

TencentCloudApi php sdk

3741.3M46](/packages/tencentcloud-tencentcloud-sdk-php)[chargebee/chargebee-php

ChargeBee API client implementation for PHP

758.5M9](/packages/chargebee-chargebee-php)[tempest/framework

The PHP framework that gets out of your way.

2.2k34.4k15](/packages/tempest-framework)[imdhemy/google-play-billing

Google Play Billing

491.5M5](/packages/imdhemy-google-play-billing)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
