Download the PHP package thesmart/php-cli-tools without Composer
On this page you can find all versions of the php package thesmart/php-cli-tools. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Table of contents
Download thesmart/php-cli-tools
More information about thesmart/php-cli-tools
Files in thesmart/php-cli-tools
Download thesmart/php-cli-tools
More information about thesmart/php-cli-tools
Files in thesmart/php-cli-tools
Vendor thesmart
Package php-cli-tools
Short Description A collection of tools to help with command line development in PHP 5.3
License MIT
Homepage https://github.com/thesmart/php-cli-tools
Package php-cli-tools
Short Description A collection of tools to help with command line development in PHP 5.3
License MIT
Homepage https://github.com/thesmart/php-cli-tools
Please rate this library. Is it a good library?
Informations about the package php-cli-tools
PHP Command Line Tools
A collection of functions and classes to assist with command line development.
Requirements
- PHP >= 5.3
Function List
\cli\out($msg, ...)\cli\out_padded($msg, ...)\cli\err($msg, ...)\cli\line($msg = '', ...)\cli\input()\cli\prompt($question, $default = false, $marker = ':')\cli\choose($question, $choices = 'yn', $default = 'n')\cli\menu($items, $default = false, $title = 'Choose an Item')
Progress Indicators
\cli\notifier\Dots($msg, $dots = 3, $interval = 100)\cli\notifier\Spinner($msg, $interval = 100)\cli\progress\Bar($msg, $total, $interval = 100)
Tabular Display
\cli\Table::__construct(array $headers = null, array $rows = null)\cli\Table::setHeaders(array $headers)\cli\Table::setRows(array $rows)\cli\Table::addRow(array $row)\cli\Table::sort($column)\cli\Table::display()
Usage
See example.php for examples.
Todo
- Expand this README
- Add doc blocks to rest of code
All versions of php-cli-tools with dependencies
PHP Build Version
Package Version
Requires
php Version
>=5.3.0
The package thesmart/php-cli-tools contains the following files
Loading the files please wait ...