PHPackages                             lurrpis/gmcoin - 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. [CLI &amp; Console](/categories/cli)
4. /
5. lurrpis/gmcoin

ActiveLibrary[CLI &amp; Console](/categories/cli)

lurrpis/gmcoin
==============

Buy or sell in console at yunbi.com

1.2.1(8y ago)238MITPHPPHP &gt;=5.5.9

Since May 10Pushed 8y ago1 watchersCompare

[ Source](https://github.com/lurrpis/gmcoin)[ Packagist](https://packagist.org/packages/lurrpis/gmcoin)[ Docs](https://lurrpis.com)[ RSS](/packages/lurrpis-gmcoin/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (4)Versions (9)Used By (0)

[GMCoin ](http://gmcloud.io/)

📦 Yunbi console client

Feature
-------

[](#feature)

- 用服务器语言写的客户端程序;
- 控制台买卖自己的加密数字货币;
- 一条命令统计最近波段的盈亏明细;
- 方法使用更优雅，不必再去研究那些奇怪的的方法名或者类名是做啥用的;
- 符合 [PSR](https://github.com/php-fig/fig-standards) 标准，你可以各种方便的与你的框架集成;
- PHP是世界上最好的语言;

Requirement
-----------

[](#requirement)

1. PHP &gt;= 5.5.9
2. **[composer](https://getcomposer.org/)**

> SDK 对所使用的框架并无特别要求

Installation
------------

[](#installation)

```
composer require lurrpis/gmcoin
```

Usage
-----

[](#usage)

基本使用:

配置 AccessKey &amp; SecretKey

```
php vendor/bin/gmcoin config
```

Documentation
-------------

[](#documentation)

获取账户余额

```
php vendor/bin/gmcoin account
```

```
账号: hi@lurrpis.com
状态: 正常
ID: ******
+----------+---------------+--------+
| currency | balance       | locked |
+----------+---------------+--------+
| cny      | 621506.102535 | 1716.8 |
| btc      | 0.0           | 0.0    |
| ltc      | 0.0           | 0.0    |
| doge     | 0.0           | 0.0    |
| bts      | 0.0           | 0.0    |
| bitcny   | 0.0           | 0.0    |
| bitusd   | 0.0           | 0.0    |
| bitbtc   | 0.0           | 0.0    |
| note     | 0.0           | 0.0    |
| pls      | 0.0           | 0.0    |
| nxt      | 0.0           | 0.0    |
| eth      | 0.0           | 0.0    |
| sc       | 19980.0       | 0.0    |
| dgd      | 0.0           | 0.0    |
| dcs      | 0.0           | 0.0    |
| dao      | 0.0           | 0.0    |
| etc      | 0.0           | 0.0    |
| amp      | 0.0           | 0.0    |
| 1st      | 4006.98605186 | 0.0    |
| rep      | 0.0           | 0.0    |
| ans      | 0.0           | 0.0    |
| zec      | 0.0           | 0.0    |
| zmc      | 0.0           | 0.0    |
| gnt      | 0.0           | 0.0    |
| yun      | 0.0           | 0.0    |
+----------+---------------+--------+

```

获取帮助

```
gmcoin list
```

查看当前价格

```
gmcoin now snt
```

```
+------+-------+-------+------+-------+-------+------------+---------------------+
| 币种 | 买单  | 卖单  | 最低 | 最高  | 价格  | 成交量     | 时间                |
+------+-------+-------+------+-------+-------+------------+---------------------+
| SNT  | 0.412 | 0.413 | 0.4  | 0.435 | 0.413 | 125,683.1k | 2017-08-14 16:23:38 |
+------+-------+-------+------+-------+-------+------------+---------------------+

```

创建挂单

```
gmcoin buy snt -p 0.02 -c 1
```

```
挂单成功: SNT
单号: 237613567
买价: 0.02
数量: 1
时间: 2017-08-16 16:21:52
```

查看挂单

```
gmcoin order
```

```
+-----------+------+-------+---------+---------+------+-----------+------+--------+------+---------------------+
| 单号      | 交易 | 单价  | 余量    | 总量    | 成交 | 总价      | 状态 | 成交数 | 币种 | 时间                |
+-----------+------+-------+---------+---------+------+-----------+------+--------+------+---------------------+
| 567416402 | 买入 | 0.401 | 35335.0 | 35335.0 | 0    | 14169.335 | wait | 0      | SNT  | 2017-08-16 13:30:18 |
| 567526055 | 买入 | 0.02  | 16.0    | 16.0    | 0    | 0.26      | wait | 0      | SNT  | 2017-08-16 15:16:05 |
| 567526056 | 买入 | 0.03  | 13.0    | 13.0    | 0    | 0.39      | wait | 0      | SNT  | 2017-08-16 15:16:05 |
| 567529828 | 买入 | 0.02  | 16.0    | 16.0    | 0    | 0.26      | wait | 0      | SNT  | 2017-08-16 15:20:11 |
| 567529829 | 买入 | 0.03  | 13.0    | 13.0    | 0    | 0.39      | wait | 0      | SNT  | 2017-08-16 15:20:11 |
| 567593509 | 买入 | 0.02  | 16.0    | 16.0    | 0    | 0.26      | wait | 0      | SNT  | 2017-08-16 16:07:16 |
| 567593511 | 买入 | 0.03  | 13.0    | 13.0    | 0    | 0.39      | wait | 0      | SNT  | 2017-08-16 16:07:15 |
+-----------+------+-------+---------+---------+------+-----------+------+--------+------+---------------------+

```

取消挂单

```
gmcoin cancel -d 567593509
```

```
取消挂单成功: SNT
取消挂单数: 1
单号: 567593509
挂单总价: 0.26
取消挂单总价: 0.26
总量: 12.0
数量: 12.0
时间: 2017-08-14 16:07:14

```

Integration
-----------

[](#integration)

- 暂无

Contribution
------------

[](#contribution)

- 暂无

License
-------

[](#license)

MIT

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity63

Established project with proven stability

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

Recently: every ~2 days

Total

8

Last Release

3185d ago

Major Versions

0.0.2 → 1.0.02017-08-14

### Community

Maintainers

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

---

Tags

consolebitcoinyunbi

### Embed Badge

![Health badge](/badges/lurrpis-gmcoin/health.svg)

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

###  Alternatives

[psy/psysh

An interactive shell for modern PHP.

9.8k545.6M719](/packages/psy-psysh)[drupal/console-core

Drupal Console Core

13514.7M12](/packages/drupal-console-core)[laravel-zero/framework

The Laravel Zero Framework.

3371.4M369](/packages/laravel-zero-framework)[laminas/laminas-cli

Command-line interface for Laminas projects

563.7M54](/packages/laminas-laminas-cli)[matthiasnoback/symfony-console-form

Use Symfony forms for Console command input

368264.8k8](/packages/matthiasnoback-symfony-console-form)[coresphere/console-bundle

This bundle allows you accessing the symfony2 console via your browser

146337.3k5](/packages/coresphere-console-bundle)

PHPackages © 2026

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