volta-framework / component-cli
Provide helpers for a simple CLI script
v0.9.0-beta
2023-07-01 12:03 UTC
Requires
- php: >=8.1
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
This package is auto-updated.
Last update: 2026-08-24 11:50:17 UTC
README
Features
- Static Helpers for simple PHP CLI scripts
- Methods for markup and formating output
- Wrapper for PHP getopt()
Examples
To run the examples open a terminal and make the examples directory your current working directory.Then execute one of the example files passing the file to the PHP CLI executable. Optionally add the option -h(--help) to get information on the available options.
$: php format.php
$: php format.php --help