PHPackages                             ddphp/ehd - 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. ddphp/ehd

ActiveLibrary[API Development](/categories/api)

ddphp/ehd
=========

东大亿惠达接口

v0.2.2(9y ago)0121MITPHPPHP &gt;=5.6.0

Since Jan 9Pushed 9y agoCompare

[ Source](https://github.com/ddphp/Ehd)[ Packagist](https://packagist.org/packages/ddphp/ehd)[ RSS](/packages/ddphp-ehd/feed)WikiDiscussions master Synced 4w ago

READMEChangelog (5)Dependencies (3)Versions (6)Used By (1)

Ehd
===

[](#ehd)

亿惠达会员（Ehd\\Member）
------------------

[](#亿惠达会员ehdmember)

### 初始化

[](#初始化)

```
$member = new \Ehd\Member();

// 查询字段：custid custname custsjh custsfz ynallnew
$condition = '288****55';  // 作为卡号
// or $condition = ['custid' => '288****55', ...];
$member->wsdl($wsdl)->where($condition)->find();
```

**where 方法可用查询字段**

1. custid 卡号
2. custname 姓名
3. custsjh 手机号
4. custsfz 身份证号
5. ynallnew 是否新增 Y/N

### 获取会员资料

[](#获取会员资料)

```
$member->getArchives();   // return array
$member->getArchives('custid');  // return string
$member->getArchives(['custid', 'name']);  // return array
```

### 调整会员积分

[](#调整会员积分)

```
$member->adjustScore(-1, '新版积分调整测试');  // return bool
```

### 变更会员资料

[](#变更会员资料)

```
$member->changeArchives($newArchives);  // return bool
```

**可修改会员资料项**

1. name 用户姓名
2. phone 电话号码
3. address 用户地址
4. personid 身份证号
5. mobilephone 手机（唯一性）
6. birthday 生日 yyyy-mm-dd 字符格式
7. sex 性别
8. edulevel 学历
9. email 电子邮箱
10. compname 单位名称
11. cmpaddr 单位地址
12. mantitle 职务

###  Health Score

24

—

LowBetter than 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 85.7% 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 ~14 days

Total

5

Last Release

3404d ago

### Community

Maintainers

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

---

Top Contributors

[![otzgo](https://avatars.githubusercontent.com/u/23303613?v=4)](https://github.com/otzgo "otzgo (6 commits)")[![ddphp](https://avatars.githubusercontent.com/u/24997518?v=4)](https://github.com/ddphp "ddphp (1 commits)")

---

Tags

sdk

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/ddphp-ehd/health.svg)

```
[![Health](https://phpackages.com/badges/ddphp-ehd/health.svg)](https://phpackages.com/packages/ddphp-ehd)
```

###  Alternatives

[appwilio/cdek-sdk

CDEK API SDK (cdek.ru)

406.5k](/packages/appwilio-cdek-sdk)[mocking-magician/coinbase-pro-sdk

Library for coinbase pro API calls

223.2k](/packages/mocking-magician-coinbase-pro-sdk)

PHPackages © 2026

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