PHPackages                             ybjd/erppush - 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. ybjd/erppush

ActiveLibrary

ybjd/erppush
============

ybjd erp推送

1.0.3(5y ago)111MITPHPPHP &gt;=5.4.45

Since Dec 9Pushed 5y ago1 watchersCompare

[ Source](https://github.com/XiaoRadid/ybjderp)[ Packagist](https://packagist.org/packages/ybjd/erppush)[ Docs](https://github.com/XiaoRadid/ybjderp.git)[ RSS](/packages/ybjd-erppush/feed)WikiDiscussions main Synced 6d ago

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

#### 安装(PHP&gt;=5.4.45)

[](#安装php5445)

composer require ybjd/erppush

#### 实现的接口

[](#实现的接口)

getPushData 获取推送过来的数据
pushOrder 订单推送
batchPushOrder 订单批量推送
checkOrderImport 检测订单是否推送成功
orderFinish 订单完成推送
orderRefund 订单退款推送
downImages 图片保存

#### 示例

[](#示例)

```
use Erppush\Erppush;

$erpPush = new Erppush([
    'username'  => 'test',//账号名
    'password'  => 'test',//密码
    'signKey'   => 'db8ebff65c0c5050299dc2bo8a141e5f',//接口密钥
    'checkSign' => 1,//是否启动验签 0否 1是
]);
try {
    //订单推送示例
    $order = array(
        0 => array(
            'order_no'    => '202004261802062000',//订单编号
            'goods_sku'   => 'S00214140-1',//商品编码
            'goods_name'  => '商品1',//商品名称
            'goods_nums'  => 1,//购买数量
            'remarks'     => '备注1',//备注
            'accept_name' => '张三',//收货人
            'telphone'    => '13025898958',//收货人联系电话
            'province'    => '广东省',//收货人所在省
            'city'        => '深圳市',//收货人所在市
            'area'        => '龙华区',//收货人所在区
            'address'     => '龙华街道油富商城',//收货人详细地址
        ),
        1 => array(
            'order_no'    => '202004261802062000',
            'goods_sku'   => 'S00214140-2',
            'goods_name'  => '商品2',
            'goods_nums'  => 1,
            'remarks'     => '备注2',
            'accept_name' => '张三',
            'telphone'    => '13025898958',
            'province'    => '广东省',
            'city'        => '深圳市',
            'area'        => '龙华区',
            'address'     => '龙华街道油富商城',
        ),
        2 => array(
            'order_no'    => '202004261802062001',
            'goods_sku'   => 'S00214140-3',
            'goods_name'  => '商品3',
            'goods_nums'  => 1,
            'remarks'     => '备注3',
            'accept_name' => '张三3',
            'telphone'    => '130258989583',
            'province'    => '广东省3',
            'city'        => '深圳市3',
            'area'        => '龙华区3',
            'address'     => '龙华街道油富商城3',
        ),
    );
    $res = $erpPush->pushOrder($order);

}catch (\Exception $e) {
    echo $e->getCode().'='.$e->getMessage();die;
}
```

#### code集合

[](#code集合)

'-1' =&gt; '系统繁忙，请稍后重试',
'0' =&gt; '操作失败',
'1' =&gt; '操作成功',
'101' =&gt; '接口返回数据异常！',
'102' =&gt; '签名错误',
'103' =&gt; '参数错误',
'104' =&gt; '获取token失败',
'105' =&gt; '配置有误',
'106' =&gt; '目录创建失败',
'201' =&gt; '请求失败',
'203' =&gt; '用户验证失败，请重新登录',
'204' =&gt; '请求失败',
'205' =&gt; '缺少必要参数TOKEN',
'206' =&gt; '账号不存在',
'207' =&gt; '没有访问权限',

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity49

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

Total

2

Last Release

1983d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/c84e9e9d95a19b392e183c71fd54aa040e265d1c5834010ba4c504c20e22af64?d=identicon)[XiaoRadid](/maintainers/XiaoRadid)

---

Top Contributors

[![XiaoRadid](https://avatars.githubusercontent.com/u/35220329?v=4)](https://github.com/XiaoRadid "XiaoRadid (21 commits)")

---

Tags

ERPybjdybjderp

### Embed Badge

![Health badge](/badges/ybjd-erppush/health.svg)

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

###  Alternatives

[lavalite/cms

Lavalite - The Laravel CMS.

2.9k56.3k](/packages/lavalite-cms)[andrewdwallo/filament-companies

A comprehensive Laravel authentication and authorization system designed for Filament, focusing on multi-tenant company management.

34450.0k2](/packages/andrewdwallo-filament-companies)[edujugon/laradoo

Odoo ERP API for Laravel

16468.6k](/packages/edujugon-laradoo)[hubleto/erp

Business Application Hub. Opensource ERP and CRM.

341.4k3](/packages/hubleto-erp)[zmoyi/jstan

聚水潭-php-sdk

153.8k1](/packages/zmoyi-jstan)

PHPackages © 2026

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