jitesoft / cli
CLI for PHP. Simple and easily extendable.
Fund package maintenance!
jitesoft
Opencollective
Installs: 11
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/jitesoft/cli
Requires
- php: >=8
- jitesoft/container: ^5.0.0
Requires (Dev)
- phpunit/phpunit: >=10.0.x-dev
- roave/security-advisories: dev-latest
- squizlabs/php_codesniffer: ^3.6
This package is auto-updated.
Last update: 2025-09-20 04:53:17 UTC
README
Simple multi-command CLI helper/kernel with parsing capabilities and automatically created help/usage output.
Creating new commands is easily done by creating a new class inheriting the abstract Command class and implement
the process
method.
Commands are auto-resolved via dependency injection allowing the kernel to automatically resolve dependencies
for the Command via constructor injection.
For a simple example, take a look in the example
folder. Further documentation will be added later on.