PHPackages                             hrp/printers - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. hrp/printers

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

hrp/printers
============

cloud printing driver

0.0.1(6y ago)026MITPHPPHP &gt;7.0.0

Since Mar 25Pushed 6y ago1 watchersCompare

[ Source](https://github.com/houruipeng/cloud_print)[ Packagist](https://packagist.org/packages/hrp/printers)[ RSS](/packages/hrp-printers/feed)WikiDiscussions master Synced 1w ago

READMEChangelogDependenciesVersions (2)Used By (0)

cloud\_print
============

[](#cloud_print)

打印机驱动

```
//使用方法

require_once '../vendor/autoload.php';
use hrp\Printer;

//开发者信息
$config = [
	'user' => '#########',
	'ukey' => '#####',
];

//驱动类型(目前仅支持飞鹅,后期会加入易联云)
$driverType='feie';

//实例化打印机
$printer = new Printer($driverType, $config);

/**
* 添加多个打印机
* 二维数组,每一个数组表示一个打印机 [sn(编号),key(开发者key),mark(选填,备注),number(选填,流量卡)]
*/
$printer->printerAddList([
	['sn' => $sn, 'key' => $key, 'name' => 'this is print name', 'number' => 'this is number'],
]);

/**
* 执行打印命令
* $sn:执行打印命名的打印机编号
* $content:打印内容
* $times:打印次数
*/
$printer->printMsg($sn, $content, $times=1);

//编辑指定sn打印机的名字
$printer->printerEdit($sn, $name);

//删除打印机,多个使用数组表示
$printer->printerDelList($snlist);

//清空打印机待打印任务
$printer->delPrinterSqs($sn);

```

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2246d ago

### Community

Maintainers

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

---

Top Contributors

[![houruipeng](https://avatars.githubusercontent.com/u/19337532?v=4)](https://github.com/houruipeng "houruipeng (10 commits)")

### Embed Badge

![Health badge](/badges/hrp-printers/health.svg)

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

###  Alternatives

[scheb/tombstone

Dead code detection with tombstones for PHP

282578.2k2](/packages/scheb-tombstone)

PHPackages © 2026

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