PHPackages                             axguowen/think-ocpcclient - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. axguowen/think-ocpcclient

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

axguowen/think-ocpcclient
=========================

Simple OCPC Client For ThinkPHP

12382PHP

Since Feb 6Pushed 3mo ago1 watchersCompare

[ Source](https://github.com/axguowen/think-ocpcclient)[ Packagist](https://packagist.org/packages/axguowen/think-ocpcclient)[ RSS](/packages/axguowen-think-ocpcclient/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

ThinkPHP OCPC 客户端
=================

[](#thinkphp-ocpc-客户端)

一个简单的 ThinkPHP OCPC 客户端

安装
--

[](#安装)

```
composer require axguowen/think-ocpcclient

```

使用
--

[](#使用)

首先配置config目录下的ocpcclient.php配置文件。

```
$ocpcClient = \think\facade\OcpcClient::platform('vivo', [
    'callback' => 'aa.dlgjlxs.com',
    'action_type' => 'CONFIRM_EFFECTIVE_LEADS',
    'click_id' => '8c97b615092c186e',
    'action_time' => '1685774968',
]);
// 获取回传结果并打印
$convert = $ocpcClient->convertGenerally();
var_dump($convert);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance55

Moderate activity, may be stable

Popularity17

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity12

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/5bb2b3388238042a25cf42dc44e5ff84adc241510354abae9e91573556753205?d=identicon)[axguowen](/maintainers/axguowen)

---

Top Contributors

[![axguowen](https://avatars.githubusercontent.com/u/61955804?v=4)](https://github.com/axguowen "axguowen (33 commits)")

### Embed Badge

![Health badge](/badges/axguowen-think-ocpcclient/health.svg)

```
[![Health](https://phpackages.com/badges/axguowen-think-ocpcclient/health.svg)](https://phpackages.com/packages/axguowen-think-ocpcclient)
```

PHPackages © 2026

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