1happyplace/clio 问题修复 & 功能扩展

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

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

1happyplace/clio

Composer 安装命令:

composer require 1happyplace/clio

包简介

Seriously level-up the user interface of your PHP CLI programs.

README 文档

README

#Clio

Developing a quick and clear user interface for PHP command line programs can be difficult. And yet, command line programming can be useful, particularly with non-public facing software that you need to spin up.

Clio was created to help in development of usable PHP command line interface (CLI) programs. Although there are no graphic capabilities for the command line, there are some things working in our favor. Monospaced fonts line up nicely and can be used to present data in a succinct way. For some terminal emulators (PHPStorm for one), you can use the full 24 bit RGB coloring, also making for interesting options.

The Clio project begins with the Clio Class, the heart and soul of the architecture. In fact, you can just use Clio and be on your way if your needs aren't complicated. It is easy to send out text to the terminal, occasionally bold or underscore text and use a set of colors to highlight information.

If you wish to get more complex, there are a set of classes that support that allow for easy styling. Namely:

  • Color Class - allows you to select a color, and depending on your terminal's color capability, the class will automatically command the terminal to show the closest color available.
  • Style Class - allows you to create a style, that is a combination of bolding and underscoring and the text and fill colors, allowing for consistent styling.
  • Paragraph Class - create a class to style and display all paragraphs consistently
  • Title Class - create a class to style and display all headings consistently
  • Menu Class - use a fast and intuitive menuing system
  • Paragraph Class - create a class to style and display all paragraphs consistently
  • Lists Class - display ordered and unordered lists
  • Table Class - create tables for easy data display

Be sure to read Getting Started with Clio and running the Demo!

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2016-08-19

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固