PHPackages                             yltech/zbj\_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. [API Development](/categories/api)
4. /
5. yltech/zbj\_php\_sdk

ActiveLibrary[API Development](/categories/api)

yltech/zbj\_php\_sdk
====================

猪八戒开放平台通用API

013PHP

Since Mar 14Pushed 8y ago1 watchersCompare

[ Source](https://github.com/yltech/zbj_php_sdk)[ Packagist](https://packagist.org/packages/yltech/zbj_php_sdk)[ RSS](/packages/yltech-zbj-php-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

zbj\_php\_sdk
=============

[](#zbj_php_sdk)

猪八戒开放平台通用API，用于开发者快速集成猪八戒平台接口，自行修改配置文件config.php即可使用，代码清晰简洁，一看即懂。

Oauth2.0授权
==========

[](#oauth20授权)

$zbjOauth = new \\zbjOauth($this-&gt;config); $result = $zbjOauth-&gt;getToken();

API调用
=====

[](#api调用)

$zbjApi = new \\zbjApi(); $result = $zbjApi-&gt;to("zbj.user.getServiceUserInfo", array( 'openid' =&gt; $zbj\_openid ));

composer管理
==========

[](#composer管理)

命令：composer require yltech/zbj\_php\_sdk dev-master 地址：[https://packagist.org/packages/yltech/zbj\_php\_sdk](https://packagist.org/packages/yltech/zbj_php_sdk)

------------------------------------------------------------
============================================================

[](#------------------------------------------------------------)

各类软硬件定制化开发 联系QQ：1572309495

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/13902773?v=4)[Ansion](/maintainers/yltech)[@yltech](https://github.com/yltech)

---

Top Contributors

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

### Embed Badge

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

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

###  Alternatives

[exsyst/swagger

A php library to manipulate Swagger specifications

35816.3M7](/packages/exsyst-swagger)[hubspot/api-client

Hubspot API client

24015.5M18](/packages/hubspot-api-client)[pocketmine/bedrock-protocol

An implementation of the Minecraft: Bedrock Edition protocol in PHP

172437.8k11](/packages/pocketmine-bedrock-protocol)[botman/driver-telegram

Telegram driver for BotMan

94452.6k6](/packages/botman-driver-telegram)

PHPackages © 2026

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