PHPackages                             shenghuo/shh-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. shenghuo/shh-sdk

ActiveLibrary

shenghuo/shh-sdk
================

圣火sdk

10.00.02(6y ago)017MITPHPPHP &gt;=5.3.3

Since Jun 21Pushed 6y agoCompare

[ Source](https://github.com/chenzhikang20180101/shenghuosdkpublic)[ Packagist](https://packagist.org/packages/shenghuo/shh-sdk)[ RSS](/packages/shenghuo-shh-sdk/feed)WikiDiscussions master Synced 2mo ago

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

shenghuosdkpublic
=================

[](#shenghuosdkpublic)

SDK目录结构和文档使用说明： 一、目录结构

|-shenghuo 应用目录（整个SDK的内容都写在这里）

```
|-shh-sdk

    |-examples(调用sdk案例)

    	|-examples.php(调用sdk的例子)

    |-php-core(php核心代码)

        |-request(接口核心代码)

	        |-ShSdkBase.php(接口加密文件)

	        |-ShSdkUserApi.php(调用crm系统接口的封装方法)

	        |-ShSdkWalletApi.php(调用crm系统接口的封装方法)

	        |-ShSdkValidate.php(接口数据验证规则)

        |-index.php(SDK包的入口文件，有基本限制，例如：php版本要求)

        |-ShSdkCommon.php(SDK包公共方法)

        |-ShSdkConfig-copy.php(SDK配置文件的副本，当开发者使用composer下载包后，
        	复制shh-sdk/ShSdkConfig-copy.php，命名shh-sdk/ShSdkConfig.php，并修改
        	#常量 API_HOST的值并以“/”结尾 http://crm.tkkkc.com/ 是线上域名，http://192.168.1.43:8089/ 是测试域名)
        |-ShSdkInterFaceName.php(SDK指向crm系统的接口路径)

    |-composer.json，composer配置说明

    |-README.md，圣火crm系统sdk使用文档

```

注：已登录用户请求crm系统接口的时候一定要带crm系统登录返回给用户的token

注：以下是ShSdkUserApi.php文件对接crm接口的重组： sdkUserRegister:注册 sdkUserLogin:登录 sdkForgetPsd:忘记密码 skdCommonInterface:通用接口包括（修改用户信息（前后台），实名认证接口，修改用户上级，锁定会员），批量钱包操作，单个钱包操作，获取钱包余额，用户信息 sdkOpenidOperate:通过openId判断用户是否授权和通过OpenId登录的接口接口 sdkGetOpenid:通过手机号获取用户信息 sdkCommonAlert:跳转未授权公共页(授权弹窗接口) sdkLogout:退出crm接口 crmUserTeam:获取我的团队 crmUserSuperior:获取我的上级

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community6

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

Total

3

Last Release

2460d ago

PHP version history (2 changes)10.00.00PHP &gt;=5.6.0

10.00.01PHP &gt;=5.3.3

### Community

Maintainers

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

---

Top Contributors

[![chenzhikang20180101](https://avatars.githubusercontent.com/u/34936129?v=4)](https://github.com/chenzhikang20180101 "chenzhikang20180101 (5 commits)")

### Embed Badge

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

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

PHPackages © 2026

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