PHPackages                             ledc/printer-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. ledc/printer-sdk

ActiveLibrary

ledc/printer-sdk
================

云打印SDK

v3.2.4(2y ago)011MITPHPPHP ^7.0|^7.4|^8.0|^8.1|^8.2

Since Nov 16Pushed 2y ago1 watchersCompare

[ Source](https://github.com/ledccn/ledc-printer-sdk)[ Packagist](https://packagist.org/packages/ledc/printer-sdk)[ RSS](/packages/ledc-printer-sdk/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (13)Used By (0)

安装 Installation
---------------

[](#安装-installation)

```
composer require ledc/printer-sdk
```

使用 Usage examples
-----------------

[](#使用-usage-examples)

```
use Ledc\PrinterSdk\PrinterHelper;

require_once __DIR__ . '/vendor/autoload.php';

$config = [
    'domain' => 'http://hnshengzhong.cn',
    'app_id' => 1,
    'app_secret' => '',
];
$api = PrinterHelper::getInstance($config);
var_dump($printer->config());
var_dump($printer->print('1', 10, false, '[{"documentID":"0123456789","contents":[{"data":{"recipient":{"address":{"city":"杭州市","detail":"良睦路999号乐佳国际大厦2号楼小邮局","district":"余杭区","province":"浙江省","town":""},"mobile":"13012345678","name":"菜鸟网络","phone":"057112345678"},"routingInfo":{"consolidation":{"name":"杭州","code":"hangzhou"},"origin":{"name":"杭州","code":"POSTB"},"sortation":{"name":"杭州"},"routeCode":"123A-456-789"},"sender":{"address":{"city":"杭州市","detail":"文一西路1001号阿里巴巴淘宝城5号小邮局","district":"余杭区","province":"浙江省","town":""},"mobile":"13012345678","name":"阿里巴巴","phone":"057112345678"},"shippingOption":{"code":"COD","services":{"SVC-COD":{"value":"200"},"TIMED-DELIVERY":{"value":"SEVERAL-DAYS"},"PAYMENT-TYPE":{"value":"ON-DELIVERY"},"SVC-INSURE":{"value":"1000000"},"SVC-PROMISE-DELIVERY":{"promise-type":"SAMEDAY_DELIVERY"}},"title":"代收货款"},"waybillCode":"0123456789"},"signature":"19d6f7759487e556ddcdd3d499af087080403277b7deed1a951cc3d9a93c42a7e22ccba94ff609976c5d3ceb069b641f541bc9906098438d362cae002dfd823a8654b2b4f655e96317d7f60eef1372bb983a4e3174cc8d321668c49068071eaea873071ed683dd24810e51afc0bc925b7a2445fdbc2034cdffb12cb4719ca6b7","templateURL":"http://cloudprint.cainiao.com/cloudprint/template/getStandardTemplate.json?template_id=101&version=4"}]}]'));
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity62

Established project with proven stability

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

Total

12

Last Release

893d ago

Major Versions

v1.0.1 → v2.0.02023-11-22

v2.1.0 → v3.0.02023-11-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/4af14254189bc74029cc40f4206f8006872b0cd092c680201f204a85a490f143?d=identicon)[ledccn](/maintainers/ledccn)

---

Top Contributors

[![ledccn](https://avatars.githubusercontent.com/u/53997080?v=4)](https://github.com/ledccn "ledccn (18 commits)")

### Embed Badge

![Health badge](/badges/ledc-printer-sdk/health.svg)

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

PHPackages © 2026

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