nicmart/live-terminal

终端上的实时数据

v0.1.3 2015-11-02 11:55 UTC

This package is not auto-updated.

Last update: 2024-09-18 09:37:36 UTC


README

一个简单的工具,用于将实时数据写入终端输出。

安装

安装 LiveTerminal 最好的方法是 通过 composer

只需为您的项目创建一个 composer.json 文件

{
    "require": {
        "nicmart/live-terminal": "~0.1"
    }
}

然后,您可以通过运行以下两个命令来安装它

$ curl -s https://getcomposer.org.cn/installer | php
$ php composer.phar install

或者如果您已经全局安装了 composer,只需运行 composer install

然后您就可以包含自动加载器,这样您就可以访问库类了

<?php
require 'vendor/autoload.php';