Download the PHP package pointybeard/helpers-functions-cli without Composer
On this page you can find all versions of the php package pointybeard/helpers-functions-cli. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download pointybeard/helpers-functions-cli
More information about pointybeard/helpers-functions-cli
Files in pointybeard/helpers-functions-cli
Package helpers-functions-cli
Short Description A collection of functions relating to the command-line
License MIT
Homepage https://github.com/pointybeard/helpers-functions-cli
Informations about the package helpers-functions-cli
PHP Helpers: Command-line Functions
- Version: v1.1.10
- Date: July 29 2021
- Release notes
- GitHub repository
A collection of functions relating to the command-line
Installation
This library is installed via Composer. To install, use composer require pointybeard/helpers-functions-cli
or add "pointybeard/helpers-functions-cli": "~1.1"
to your composer.json
file.
And run composer to update your dependencies:
$ curl -s http://getcomposer.org/installer | php
$ php composer.phar update
Requirements
This library makes use of the PHP Helpers: Command-line Input and Input Type Handlers, PHP Helpers: Flag Functions (pointybeard/helpers-functions-flags
), PHP Helpers: Command-line Colour (pointybeard/helpers-cli-colours
) and PHP Helpers: String Functions packages. They are installed automatically via composer.
To include all the PHP Helpers packages on your project, use composer require pointybeard/helpers
or add "pointybeard/helpers": "~1"
to your composer file.
Usage
This library is a collection convenience function for command-line tasks. They are included by the vendor autoloader automatically. The functions have a namespace of pointybeard\Helpers\Functions\Cli
The following functions are provided:
run_command()
which()
can_invoke_bash()
is_su()
run_command()
usage()
manpage()
get_window_size()
display_error_and_exit()
Example usage:
Support
If you believe you have found a bug, please report it using the GitHub issue tracker, or better yet, fork the library and submit a pull request.
Contributing
We encourage you to contribute to this project. Please check out the Contributing documentation for guidelines about how to get involved.
License
"PHP Helpers: Command-line Functions" is released under the MIT License.
All versions of helpers-functions-cli with dependencies
pointybeard/helpers-cli-input Version ~1.2.0
pointybeard/helpers-cli-colour Version ~1.0
pointybeard/helpers-functions-strings Version ~1.1
pointybeard/helpers-functions-flags Version ~1.0
pointybeard/helpers-functions-arrays Version ~1.0
pointybeard/helpers-functions-debug Version ~1.0
pointybeard/helpers-exceptions-readabletrace Version ~1.0.0