PHP

New in Symfony 8.2: Console improvements

Symfony has detailed further Console component features coming in Symfony 8.2, a release focused on terminal applications that also brings console sub-commands, Tui component improvements and smarter arguments for invokable commands. One addition, contributed by Zoran Shefot Bogoevski and Nicolas Grekas, lets multi-value arguments and options be typed as a list of backed enums. Symfony then maps each value automatically, so developers no longer receive an array of strings to convert and validate themselves.

AI-written summary, checked against the cited sources. How summaries work

Image: Symfony Blog

Read at Symfony Blog

Release

Version
8.2
Released
Release notes
Symfony Blog