PHPackages                             ccatpay/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. ccatpay/php\_sdk

ActiveLibrary

ccatpay/php\_sdk
================

多元支付平台PHP SDK

v1.0.1(2y ago)1146↓100%MITPHPPHP &gt;=5.6

Since Jul 5Pushed 2y ago1 watchersCompare

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

READMEChangelog (2)DependenciesVersions (3)Used By (0)

PHP\_SDK
========

[](#php_sdk)

多元支付平台SDK

提供您整合黑貓pay統一客樂得多元支付平台相關服務，支援服務如下:

- [CVS代收代付](https://github.com/ccatpay/PHP_SDK/blob/main/src/pay/api/OrderClient.php)
- [COCS線上刷卡](https://github.com/ccatpay/PHP_SDK/blob/main/src/pay/api/CocsOrderClient.php)
- [DPH行動支付](https://github.com/ccatpay/PHP_SDK/blob/main/src/pay/api/DphOrderClient.php)
- [主檔管理](https://github.com/ccatpay/PHP_SDK/blob/main/src/pay/api/SmsClient.php)
- [用戶驗證](https://github.com/ccatpay/PHP_SDK/blob/main/src/pay/api/LoginClient.php)

環境需求
====

[](#環境需求)

- PHP: ^5.6 || ^7.0 || ^8.0

安裝
==

[](#安裝)

建議使用 Composer 安裝

```
 composer require ccatpay/php_sdk

```

使用
==

[](#使用)

請參考 [範例](https://github.com/ccatpay/PHP_SDK/tree/main/example)

錯誤碼及api具體說明 請參考[串接文件](https://www.ccat.com.tw/Home/Download#Manual) 或者聯繫相關開發人員

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

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

Total

2

Last Release

796d ago

### Community

Maintainers

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

---

Top Contributors

[![ccatpay](https://avatars.githubusercontent.com/u/122504201?v=4)](https://github.com/ccatpay "ccatpay (25 commits)")

### Embed Badge

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

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

PHPackages © 2026

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