PHPackages                             rytisder/payssion-php-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. rytisder/payssion-php-sdk

ActiveLibrary

rytisder/payssion-php-sdk
=========================

v1.3.0.160615(6y ago)09.4k↓50%1MITPHPPHP &gt;=5.3

Since Oct 21Pushed 6y agoCompare

[ Source](https://github.com/rytisder/payssion-php-sdk)[ Packagist](https://packagist.org/packages/rytisder/payssion-php-sdk)[ RSS](/packages/rytisder-payssion-php-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (4)DependenciesVersions (5)Used By (0)

payssion-php
============

[](#payssion-php)

\##Prerequisites

- PHP 5.3 or above
- curl, json &amp; openssl extensions must be enabled

\##Usage

```
$payssion = new PayssionClient('your api key', 'your secretkey');
//please uncomment the following if you use sandbox api_key
//$payssion = new PayssionClient('your api key', 'your secretkey', false);

$response = null;
try {
	$response = $payssion->create(array(
			'amount' => 1,
			'currency' => 'USD',
			'pm_id' => 'alipay_cn',
			'order_id' => 'your order id',      //your order id
			'return_url' => 'your return url'   //optional, the return url after payments (for both of paid and non-paid)
	));
} catch (Exception $e) {
	//handle exception
	echo "Exception: " . $e->getMessage();
}

if ($payssion->isSuccess()) {
	//handle success
} else {
	//handle failed
}
```

PAYSSION PHP library

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

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 ~51 days

Total

4

Last Release

2246d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9f3beadfd3acff0927641312681b1cd6f7b9e9c1baf2f8acc4b9b5f4468fddb7?d=identicon)[rytisder](/maintainers/rytisder)

---

Top Contributors

[![rytisder](https://avatars.githubusercontent.com/u/17141616?v=4)](https://github.com/rytisder "rytisder (8 commits)")

### Embed Badge

![Health badge](/badges/rytisder-payssion-php-sdk/health.svg)

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

PHPackages © 2026

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