PHPackages                             sxqibo/cloudprinter - 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. sxqibo/cloudprinter

ActiveLibrary

sxqibo/cloudprinter
===================

云打印机

v2.0.1(2y ago)065MITPHPPHP &gt;=7.0

Since Apr 25Pushed 2y ago2 watchersCompare

[ Source](https://github.com/sxqibo/cloudPrinter)[ Packagist](https://packagist.org/packages/sxqibo/cloudprinter)[ RSS](/packages/sxqibo-cloudprinter/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (8)Used By (0)

云打印机
----

[](#云打印机)

### 01、支持的打印机类型

[](#01支持的打印机类型)

- 飞鹅云小票打印机
- 芯烨云小票打印机

### 02、飞鹅小票打印机使用方法

[](#02飞鹅小票打印机使用方法)

飞鹅官方文档地址：

通过 comopser 安装

```
composer require sxqibo/cloudprinter

```

支持的方法：

- 批量添加打印机接口：printerAddlist
- 打印订单接口：printMsg
- 批量删除打印机：printerDelList
- 修改打印机信息接口：printerEdit
- 清空待打印订单接口：delPrinterSqs
- 查询订单是否打印成功接口：queryOrderState
- 查询指定打印机某天的订单统计数接口：queryOrderInfoByDate
- 获取某台打印机状态接口：queryPrinterStatus
- 参数签名：printCallBackSign
- 生成签名：signature

这里只给出了打印的方法，

```
$config = [
    // 飞鹅云注册账号
    'user' => '',
    // 飞鹅云开发者 UKEY
    'ukey' => '',
    // 打印机回调地址
    'callBackUrl' => '',
];

// 打印机 SN 号
$sn = '';
// 打印内容
$content = '测试打印';
$content .= '山西岐伯科技';
// 打印几联
$times = 1;

$feie = new FeieYun($config);
$feie->printMsg($sn, $content, $times);
```

**说明:**

- 在安装目录下的 可以直接使用 `sample/FeieYunDemo.php` 中提供了一个测试文件，需填写开发者在飞鹅云平台注册的账号、UKEY 以及 打印机的 SN 号即可进行测试
- 回调地址需要自己编写，本包中没有进行封装
- 设置回调地址需要在飞鹅云的后台中进行配置

### 03、芯烨云小票打印机使用方法

[](#03芯烨云小票打印机使用方法)

芯烨云官网文档地址：

通过 composer 安装

```
composer require sxqibo/cloudprinter

```

支持的方法：

- 批量添加打印机：
- 打印订单接口：
- 批量删除打印机接口：
- 修改打印机信息接口：
- 获取某台打印机状态接口：
- 批量获取打印机状态接口：
- 查询订单是否打印成功接口：queryOrderState
- 查询指定打印机某天的订单统计数接口：queryOrderInfoByDate
- 清空待打印订单接口：delPrinterSqs

这里只给出了打印的方法,

```
$config = [
    // 芯烨云注册账号
    'user' => '',
    // 芯烨云开发者 UKEY
    'ukey' => '',
    // 打印机回调地址
    'callBackUrl' => '',
];

// 打印机 SN 号
$sn = '';
// 打印内容
$content = '测试打印';
$content .= '山西岐伯科技';
// 打印几联
$times = 1;

$feie = new XpYun($config);
$feie->printMsg($sn, $content, $times);
```

**说明:**

- 在安装目录下的 可以直接使用 `sample/XpYunDemo.php` 中提供了一个测试文件，需填写开发者在芯烨云平台注册的账号、UKEY 以及 打印机的 SN 号即可进行测试
- 回调地址需要自己编写，本包中没有进行封装
- 设置回调地址需要在芯烨云的后台中进行配置

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity44

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 76.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 ~25 days

Recently: every ~30 days

Total

7

Last Release

969d ago

Major Versions

v0.1.0 → v1.0.02023-05-22

v1.1.1 → v2.02023-09-20

### Community

Maintainers

![](https://www.gravatar.com/avatar/2f32e92c7e68c3d0af13677702b745fea90913ed6173f1a0c9506f0d25a50ebe?d=identicon)[hongweizhiyuan](/maintainers/hongweizhiyuan)

![](https://www.gravatar.com/avatar/397de3883921286ae8e124fc7e0cdbe3e0b809baf12b024e8b0ecbb8f79ebd58?d=identicon)[coderup2u](/maintainers/coderup2u)

---

Top Contributors

[![coderup2u](https://avatars.githubusercontent.com/u/70255338?v=4)](https://github.com/coderup2u "coderup2u (23 commits)")[![hongweizhiyuan](https://avatars.githubusercontent.com/u/2313822?v=4)](https://github.com/hongweizhiyuan "hongweizhiyuan (7 commits)")

---

Tags

php

### Embed Badge

![Health badge](/badges/sxqibo-cloudprinter/health.svg)

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

###  Alternatives

[theodo-group/llphant

LLPhant is a library to help you build Generative AI applications.

1.5k311.5k5](/packages/theodo-group-llphant)[xeroapi/xero-php-oauth2

Xero official PHP SDK for oAuth2 generated with OpenAPI spec 3

1054.3M14](/packages/xeroapi-xero-php-oauth2)[mailchimp/transactional

458.9M16](/packages/mailchimp-transactional)[kinde-oss/kinde-auth-php

Kinde PHP SDK for authentication

2369.5k3](/packages/kinde-oss-kinde-auth-php)

PHPackages © 2026

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