consolidation/annotated-command
Initialize Symfony Console commands from annotated command class methods.
4.10.5
76M downloads/mo
#583 most downloaded on Packagist
consolidation/annotated-command
What this package is like to depend on
Last release 4 months ago
29 Mar 2026
Release timing varies
gaps range from 2 weeks to 8 months
Most releases are documented
notes for 72 of 119 stable releases
Nothing withdrawn
no release was ever pulled
10 years old
145 releases · first in 2016
3 releases in the last 12 months
see the full history below
Release timeline
145 releases · Mar 2016 to Mar 2026Releases
latest 60 of 145-
5.0.0-beta128 Feb 2023 pre-release -
4.10.529 Mar 2026 -
4.10.414 Nov 2025Nothing published for this version
-
4.10.314 Nov 2025 -
4.10.216 Jul 2025 -
4.10.113 Dec 2024 -
4.10.005 Apr 2024 -
4.9.226 Dec 2023Release notes
Open source →- Avoid infinite loop in \Consolidation\AnnotatedCommand\Parser\CommandInfo::getName (#306)
-
4.9.120 May 2023Release notes
Open source →- Inject command metadata: make AnnotationData and FormatterOptions available (#301)
- Only call setHidden() if value is true. (#299)
-
4.9.020 May 2023Nothing published for this version
-
4.8.211 Mar 2023Release notes
Open source →- Fix bug with simple options with dashes in their names. (#295)
- Add new public ->addOption() method (#294)
- Attributes - Topic needs path (#293)
- More robust hook attribute, and misc (#291)
-
4.8.128 Feb 2023Nothing published for this version
-
4.8.028 Feb 2023Release notes
Open source →- Add HookSelector attribute and adjust Hook attribute accordingly (#290)
- Allow for just one param to be passed in Help and Topics Attributes (#289)
-
4.7.106 Dec 2022 -
4.7.022 Nov 2022Release notes
Open source →- Allow command help and descriptions to be defined via docblock comments (#281)
- Fix hidden via Attribute (#283)
- Fix command completion (#282)
-
4.6.109 Nov 2022Release notes
Open source →- Use Attributes to set suggestedValues for arg/option completion (#275)
- Default value and therefore data type of parameter-defined cli options was being dropped (#280)
- Make nullable properties in Attributes actually nullable (#278)
- Only ignore commands in parent classes if flag is set (reverts backwards-compatibility break) (#277)
-
4.6.030 Oct 2022 -
4.5.720 Oct 2022 -
4.5.622 Jun 2022 -
4.5.526 Apr 2022Release notes
Open source →- No functional change; new release to fix false positives in b/c check caused by lockfile problem.
-
4.5.405 Apr 2022 -
4.5.302 Apr 2022Release notes
Open source →- Check the type of the reflection object before attempting to call isBuiltin(). (#265)
-
4.5.220 Feb 2022Release notes
Open source →- Do not pass null to Symfony Command methods (#262)
- CommandResult inheritance (#260)
-
4.5.130 Dec 2021 -
4.5.027 Dec 2021 -
4.4.030 Sep 2021Release notes
Open source →- Add support for providing command information via php8 Attributes. (#239)
-
4.3.327 Sep 2021Release notes
Open source →- Back out change from 4.3.2. Will restore in 4.4.0, but with a switch that defaults to "off" (backwards-compatible).
-
4.3.219 Sep 2021 -
4.3.130 Aug 2021 -
4.3.028 Aug 2021 -
4.2.410 Dec 2020 -
4.2.303 Oct 2020 -
4.2.230 Sep 2020Release notes
Open source →- PHP 8 / Composer 2 support (#210)
- Add @ignored-command annotation. (#211)
- Address deprecation of ReflectionType::getClass() (#209)
-
4.2.130 Aug 2020Release notes
Open source →- Give command handlers the ability to save and restore their state (#208)
- Do not inject $input and $output into the command instance unless it supports saving and restoring state.
-
4.2.027 Aug 2020Release notes
Open source →DEPRECATED RELEASE. Do not use.
- Inject $input and $output into the command instance if it is set up to receive them. (#207)
-
4.1.127 May 2020 -
4.1.007 Feb 2020 -
4.0.029 Oct 2019Release notes
Open source →- Compatible with the 2.x branch, but removes support for old PHP versions and requires Symfony 4.
-
2.12.203 Jan 2022Nothing published for this version
-
2.12.111 Oct 2020Nothing published for this version
-
2.12.008 Mar 2019Release notes
Open source →- Allow annotated args and options to specify their default values in their descriptions. (#186)
-
2.11.202 Feb 2019 -
2.11.131 Jan 2019 -
2.11.029 Dec 2018Release notes
Open source →- Make injection of InputInterface / OutputInterface general-purpose (#179)
-
2.10.221 Dec 2018Release notes
Open source →- Fix commands that have a @param annotation for their InputInterface/OutputInterface params (#176)
-
2.10.114 Dec 2018Release notes
Open source →- Add stdin handler convenience class
- Add setter to AnnotationData to suppliment existing array acces
- Update to Composer Test Scenarios 3
-
2.10.015 Nov 2018 -
2.9.119 Sep 2018Nothing published for this version
-
2.9.019 Sep 2018Release notes
Open source →- Improve commandfile discovery for extensions installed via Composer. (#156)
-
2.8.518 Aug 2018Release notes
Open source →- Add dependencies.yml for dependencies.io
- Fix warning in AnnotatedCommandFactory when getCommandInfoListFromCache called with null.
-
2.8.425 May 2018 -
2.8.323 Feb 2018Release notes
Open source →- BUGFIX: Do not shift off the command name unless it is there. (#139)
- Use test scenarios to test multiple versions of Symfony. (#136, #137)
-
2.8.229 Nov 2017 -
2.8.117 Oct 2017Release notes
Open source →- Add hook methods to allow Symfony command events to be added directly to the hook manager, givig better control of hook order. (#131)
-
2.8.013 Oct 2017Release notes
Open source →- Remove phpdocumentor/reflection-docblock in favor of using a bespoke parser (#130)
-
2.7.205 Oct 2017Nothing published for this version
-
2.7.103 Oct 2017Nothing published for this version
-
2.7.018 Sep 2017Release notes
Open source →- Add support for options with a default value of 'true' (#119)
- BUGFIX: Improve handling of options with optional values, which previously was not working correctly. (#118)
-
2.6.118 Sep 2017 -
2.6.018 Sep 2017Nothing published for this version