PHPackages                             aoxiang/cloud-gprinter - 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. aoxiang/cloud-gprinter

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

aoxiang/cloud-gprinter
======================

Gprinter Api

0.0.1(5y ago)092MITPHP

Since Apr 6Pushed 4y ago1 watchersCompare

[ Source](https://github.com/aoxiang594/gprinter)[ Packagist](https://packagist.org/packages/aoxiang/cloud-gprinter)[ RSS](/packages/aoxiang-cloud-gprinter/feed)WikiDiscussions master Synced 6d ago

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

佳博云打印
=====

[](#佳博云打印)

```
composer require aoxiang/cloud-gprinter

```

我是用来`打印标签`(不是票据、不是票据、不是票据)

所以这里只是做了打印标签的接口

官方有提供简单的 SDK 供参考

SDK 下载

```
use  Aoxiang\Gprinter\Client;

$apiKey     = '';
$memberCode = '';
$deviceId   = '';
$client     = new Client($apiKey, $memberCode);
$template   = 'SIZE 30 mm,320 mm
GAP 2 mm,0 mm
REFERENCE 0,0
SPEED 2
DENSITY 8
DIRECTION 0
SET HEAD ON
SET PRINTKEY OFF
SET KEY1 ON
SET KEY2 ON
SHIFT 0
CLS
QRCODE 25,25,L,3,A,0,"https://mp.weixin.qq.com/a/~~4Sl9qv7xeEk~Yo-_mJGLfwkBcz25YBipuA~~"
TEXT 240,25,"TSS24.BF2",90,1,1,"劳力士116518"
TEXT 203,25,"TSS24.BF2",90,1,1,"编号 A41FFD1"
TEXT 165,25,"TSS24.BF2",90,1,1,"入库日期 2021年04月02日"
TEXT 80,160,"TSS24.BF2",90,1,1,"售价 ￥25,000"
PRINT 1,1
';
$client->setDeviceId($deviceId)->tag($template);

```

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity42

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

1866d ago

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/aoxiang-cloud-gprinter/health.svg)

```
[![Health](https://phpackages.com/badges/aoxiang-cloud-gprinter/health.svg)](https://phpackages.com/packages/aoxiang-cloud-gprinter)
```

###  Alternatives

[shlinkio/shlink

A self-hosted and PHP-based URL shortener application with CLI and REST interfaces

4.8k4.3k](/packages/shlinkio-shlink)[ralphjsmit/laravel-helpers

A package containing handy helpers for your Laravel-application.

13704.6k2](/packages/ralphjsmit-laravel-helpers)[dhlparcel/magento2-plugin

DHL Parcel plugin for Magento 2

11180.5k2](/packages/dhlparcel-magento2-plugin)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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