apex / cli
Develop efficient console applications.
Installs: 24
Dependents: 1
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:package
Requires
- php: >=8.1
- apex/container: ^2.0
- symfony/string: ^6.0
Requires (Dev)
- apex/signer: ^2.0
- phpunit/phpunit: ^9.5
This package is auto-updated.
Last update: 2024-12-11 18:34:10 UTC
README
Quickly and efficiently develop CLI based applications. Features include
- File / directory structure based routing for better organization and single responsibility principle
- Many helper functions to automatically wordwrap all text, get user input, get password, specify new password, get y/n confirmation, render SQL style table, render two column array, and more.
- Support for additional arguments, plus short and long flags with optional values.
- Provides uniform, concise and well structured help screen for all commands.
- Utilizes levenshtein algorithm to automatically detect typos within command names.
- Easily define shortcuts to commands.
- Supports attribute based dependancy injection providing cleaner and more efficient development.
Installation
Install via Composer with:
composer require apex/cli
Table of Contents
Follow Apex
Loads of good things coming in the near future including new quality open source packages, more advanced articles / tutorials that go over down to earth useful topics, et al. Stay informed by joining the mailing list on our web site, or follow along on Twitter at @mdizak1.