Initial Setup: See sections Requirements and Setup
Provides a standalone CLI framework
todo Proper and correctly stated feature list
-
Brand new and most up-to-date console / cli framework for php 7.2 and newer!
-
Colored console output with an easy way to add your own CLI style for your commands
-
Argument-objects with easy and clear insight to custom argument handling
-
Command-objects with easy and clear insight to custom command handlers
-
4 lines of code to get your CLI working
-
For a detailed example executable, checkout example-executable.php
Example code implementation:
todo Add example usage
In development
-
PHP 7.2 or newer
- Add the requirement to your project's composer.json and run
composer update
"require": {
"schilffarth/console": "*"
},
"repositories": [
{"type": "git", "url": "https://github.com/schilffarth/console"}
],
Roland Schilffarth roland@schilffarth.org