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

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

cblink/feieyun-sdk
==================

feieyun options

v1.0.3(6y ago)1941MITPHP

Since Apr 10Pushed 6y ago4 watchersCompare

[ Source](https://github.com/cblink/feieyun-sdk)[ Packagist](https://packagist.org/packages/cblink/feieyun-sdk)[ RSS](/packages/cblink-feieyun-sdk/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (5)Used By (0)

 feieyun-sdk
=============

[](#-feieyun-sdk-)

 feieyun options.

Installing
----------

[](#installing)

```
$ composer require cblink/feieyun-sdk -vvv
```

Usage
-----

[](#usage)

```
use Cblink\Feieyun\Application;

$config = [
    'debug' => 0,

    'user' => 'your-feieyun-user',
    'ukey' => 'your-feieyun-ukey',

    'log' => [
      'name' => 'feieyun',
    ],
    'http' => [
      'timeout' => 3,
      'base_uri' => 'http://api.feieyun.cn/Api/Open',
      'http_errors' => false,
      'headers' => [
          'content-type' => 'application/x-www-form-urlencoded',
          'accept' => 'application/json',
      ],
    ],
    'cache' => [
      'namespace' => 'feieyun',
    ],
];

$app = new Application($config);

// 添加打印机
$app->printer->addPrinter($sn, $key, $alias, $phone)

// 从账号下终端打印机
$app->printer->removePrinter($sn);

// 创建文本打印任务
$app->printer->createPrinterTask($sn, $content, $times = 1);

// 创建标签打印任务
$app->printer->createPrinterLabelTask($sn, $content, $img = '', $times = 1);

// 修改打印机信息
$app->printer->editPrinterInfo($sn, $name, $phone = '');

// 取消终端所有未打印任务
$app->printer->cancelUnprintTaskBySn($sn);

// 获取终端状态
$app->printer->queryPrinterStatusBySn($sn);

// 查询指定打印机某天的订单统计数
$app->printer->queryOrderInfoBySnAndDate($machine_code);

```

Contributing
------------

[](#contributing)

You can contribute in one of three ways:

1. File bug reports using the [issue tracker](https://github.com/cblink/feieyun-sdk/issues).
2. Answer questions or fix bugs on the [issue tracker](https://github.com/cblink/feieyun-sdk/issues).
3. Contribute new features or update the wiki.

*The code contribution process is not very formal. You just need to make sure that you follow the PSR-0, PSR-1, and PSR-2 coding guidelines. Any new code contributions must be accompanied by unit tests where applicable.*

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity59

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

Total

4

Last Release

2217d ago

### Community

Maintainers

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

---

Top Contributors

[![mouyong](https://avatars.githubusercontent.com/u/10336437?v=4)](https://github.com/mouyong "mouyong (3 commits)")

### Embed Badge

![Health badge](/badges/cblink-feieyun-sdk/health.svg)

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

###  Alternatives

[mirzabusatlic/laravel-schedule-monitor

Monitor the output of scheduled tasks in a database table

2869.8k](/packages/mirzabusatlic-laravel-schedule-monitor)[bornfreee/tactician-domain-events-bundle

Bundle to integrate Tactician Domain Events library with Symfony project

10138.6k](/packages/bornfreee-tactician-domain-events-bundle)

PHPackages © 2026

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