Releases: phpdevcommunity/php-console
Releases · phpdevcommunity/php-console
Add support for default option values
- Add the ability to set a default value for command options.
- The CommandRunner is updated to use the default value if an option is not provided and to display it in the command help.
- Update tests to cover this new functionality.
feat: add global verbosity, stderr support and update documentation
- Add global verbosity support via OutputInterface and CommandRunner.
- Implement debug() method for verbose-only output.
- Redirect error messages to STDERR for better stream handling.
- Handle global --verbose (-v) flag automatically in all commands.
- Display execution statistics (time/memory) only in verbose mode.
- Rewrite README with comprehensive examples in English and French.
- Document static factory methods and clarify global options usage.
fix arguments resolver
1.0.6 fix arguments resolver
Fix terminal width detection: fallback to 85 if $TERM is undefined and suppress tput warnings
1.0.5 Fix terminal width detection: fallback to 85 if xterm-256color is und…
support for partially typed commands (e.g. c:c) and added verbose mode
1.0.4 support for partially typed commands (e.g. c:c) and added verbose mode
fix bug default argument value
1.0.3 fix bug default argument value
support prefixed command execution
1.0.2 can execute any command with prefix
Fix auto size table output
1.0.1 remove version from composer.json
initial commit for PHP Console v1
- Added base architecture for the console package.
- Implemented CommandRunner and CommandParser.
- Provided Output and ConsoleOutput classes for handling CLI output.
- Introduced support for arguments and options with CommandArgument and CommandOption.
- Created sample UserReportCommand demonstrating all output features.
- Added basic installation and usage documentation in the README.