Menu

Post image 1
Post image 2
1 / 2
0

Symfony 8.1, the big CLI update

DEV Community·david duymelinck·24 days ago
#71sGPzj7
#ask#php#symfony#software#less#argument
Reading 0:00
15s threshold

When I saw the change list in the Symfony 8.1 beta 1 announcement The first thing that I noticed is that there are a lot of Console and CLI related changes. The first few "New in Symfony 8.1" posts confirm this. Added the TUI component I have written about the TUI component but now it is a part of the framework . The quick explanation for the people who are unaware of the component. Think Claude code/OpenCode, Midnight commander/Yazi, basically everything in Awesome TUI's you can now make in PHP. HTTP-less application While this change goes further than only Console, it streamlines creating commands with multiple dependencies or config values. Up till now when you didn't want the HTTP functionality of the Kernel, you needed to inject the services explicitly or create your own container. While they are still options, adding a HTTP-less Kernel causes less friction because of the familiarity with the web kernel. Input improvements Argument resolvers in Console is a big one.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.

Read More