2017 © Pedro Peláez
 

library clio

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

image

1happyplace/clio

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

  • Thursday, March 8, 2018
  • by 1happyplace
  • Repository
  • 1 Watchers
  • 1 Stars
  • 185 Installations
  • PHP
  • 2 Dependents
  • 0 Suggesters
  • 1 Forks
  • 0 Open issues
  • 9 Versions
  • 16 % Grown

The README.md

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., (*1)

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., (*2)

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., (*3)

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

  • 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!, (*5)

The Versions

08/03 2018

dev-master

9999999-dev http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash

08/03 2018

2.1

2.1.0.0 http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash

05/03 2018

v2.0

2.0.0.0 http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash

03/10 2017

v1.1

1.1.0.0 http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash

14/09 2016

v0.5.2-beta

0.5.2.0-beta http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash

14/09 2016

v0.5.3-beta

0.5.3.0-beta http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash

14/09 2016

v1.0

1.0.0.0 http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash

22/08 2016

v0.5.1-beta

0.5.1.0-beta http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash

19/08 2016

v0.5-beta

0.5.0.0-beta http://clio.1happyplace.com/clio/clio.html

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

  Sources   Download

MIT

The Requires

 

The Development Requires

terminal ansi emulator bash