2bj/phanybar

通过PHP控制AnyBar

v1.0.0 2015-03-06 12:14 UTC

This package is not auto-updated.

Last update: 2024-09-14 17:16:19 UTC


README

通过命令行或PHP代码控制AnyBar

安装

您必须已安装并运行AnyBar

常规

composer global require 2bj/phanybar

用法

从命令行

phanybar green

或如果AnyBar在另一个端口上

phanybar black 1387

或将其用作库

use Bakyt\Console\Phanybar;

$phanybar = new Phanybar;
$phanybar->send('green');
$phanybar->send('black', 1387);

感谢

nanybar

许可证

MIT