gipfl/cli 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

gipfl/cli

最新稳定版本:v0.7.0

Composer 安装命令:

composer require gipfl/cli

包简介

CLI utilities

README 文档

README

CLI-related library. Currently provides Process- and Screen-related helper classes.

Usage

Just some usage examples. Please check our source code, as all useful public methods should carry a nice documentation.

Change the your process title

This is what you'll see in your process list:

use gipfl\Cli\Process;

Process::setTitle('mydaemon: doing something');

Restart the process, replacing itself

The new process will run in the same process space, after being started with the very same binary, given the same parameters and the the same environment:

Process::restart();

Do more with your CLI screen

use gipfl\Cli\Screen;

$screen = Screen::instance();
echo $screen->center($screen->underline('Hello world'));

Use some color

echo Screen::instance()->colorize('OK', 'green') . ": everything is fine!\n"'

Changes

v0.7.0

  • dependencies: support react/promise v2 and v3

v0.3.0

  • Process: fix restart when started from a shell
  • Introduce Spinner

v0.2.0

  • Process::restart() and related helper methods
  • Screen helpers

v0.1.0

  • First release

统计信息

  • 总下载量: 7.73k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 2
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 1
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2019-02-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固