Skip to content

Releases: phpdevcommunity/php-console

Add support for default option values

26 Nov 10:51

Choose a tag to compare

  • 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

21 Nov 09:13

Choose a tag to compare

  • 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

09 Nov 16:51

Choose a tag to compare

1.0.6

fix arguments resolver

Fix terminal width detection: fallback to 85 if $TERM is undefined and suppress tput warnings

23 Oct 14:19

Choose a tag to compare

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

24 Jul 10:39

Choose a tag to compare

1.0.4

support for partially typed commands (e.g. c:c) and added verbose mode

fix bug default argument value

08 Apr 13:44

Choose a tag to compare

1.0.3

fix bug default argument value

support prefixed command execution

07 Apr 09:44

Choose a tag to compare

1.0.2

can execute any command with prefix

Fix auto size table output

23 Dec 13:11

Choose a tag to compare

1.0.1

remove version from composer.json

initial commit for PHP Console v1

23 Dec 07:32

Choose a tag to compare

  • 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.