惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园 - 叶小钗
D
Docker
Google DeepMind News
Google DeepMind News
Y
Y Combinator Blog
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Blog — PlanetScale
Blog — PlanetScale
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
U
Unit 42
博客园 - 【当耐特】
N
Netflix TechBlog - Medium
V
Visual Studio Blog
Microsoft Azure Blog
Microsoft Azure Blog
博客园_首页
Recent Announcements
Recent Announcements
GbyAI
GbyAI
T
Tailwind CSS Blog
S
SegmentFault 最新的问题
WordPress大学
WordPress大学
T
The Blog of Author Tim Ferriss
Engineering at Meta
Engineering at Meta
L
LangChain Blog
A
About on SuperTechFans
M
MIT News - Artificial intelligence
B
Blog

DEV Community

Authentication Security Deep Dive: From Brute Force to Salted Hashing (With Java Examples) Why AI Systems Don’t Fail — They Drift Spilling beans for how i learn for exam😁"Reinforcement Learning Cheat Sheet" I Replaced Chrome with Safari for AI Browser Automation. Here's What Broke (and What Finally Worked) How Python Borrows Other People's Work The $40 Architecture: Processing 1 Billion API Requests with 99.99% Uptime Vibe Coding: A Workflow Guide (From Zero to SaaS) Most webhook security guides protect the wrong side. The scary part is delivery. Headless CMS for TanStack Start: Build a Blog with Cosmic EU Age Verification App "Hacked in 2 Minutes" — What Actually Happened Comfy Cloud’s delete function does not actually remove files Running AI Models on GPU Cloud Servers: A Beginner Guide Event-driven media intelligence with AWS Step Functions and Bedrock I scored 500 AI prompts across 8 quality dimensions — here's what broke How to Call Google Gemini API from Next.js (Free Tier, No Backend Needed) The Portal Protocol: Reclaiming Human Connection in the Age of AI How to Fix Your Team's Scattered Knowledge Problem With a Self-Hosted Forum Intro to tc Cloud Functors: A Graph-First Mental Model for the Modern Cloud Designing Multi-Tenant Backends With Both Ownership and Team Access I Built a Neumorphic CSS Library with 77+ Components — Here's What I Learned PostgreSQL Performance Optimization: Why Connection Pooling Is Critical at Scale Cómo construí un SaaS multi-rubro para gestionar expensas en Argentina con FastAPI + Vue 3 🚀 I Built an Ethical Hacking Scanner Tool – Open Source Project I Replaced /usage and /context in Claude Code With a Single Statusline A Pythonic Way to Handle Emails (IMAP/SMTP) with Auto-Discovery and AI-Ready Design I Collected 8.9 Million Polymarket Price Points — Here's What I Found About How Markets Really Move EcoTrack AI — Carbon Footprint Tracker & Dashboard Everyone's Using AI. No One Agrees How. 5 self-hosted ebook managers worth trying in 2026 Building Your First AI Agent with LangChain: From Chatbot to Autonomous Assistant
Symfony 8.1, the big CLI update
david duymel · 2026-05-09 · via DEV Community

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.
This brings command arguments on the same level as the Controller arguments.
Method based commands makes it possible to group commands like you would with a Controller. While it gives you more options the argument resolvers addition allows to inject services as an method argument so there is less need to use constructor dependency injection.

I'm sure a future article in the new series will be the image support for QuestionHelper and #Ask.
This will only work on terminals that support image rendering. But having the distinction between images and other files gives you more options.

It will be possible to add validation constraints to QuestionHelper and #Ask and #MapInput.
It is already possible to add a Validator, but the using the constraints makes the argument a lot cleaner.

Adding any type as a default for an argument is going bring more type safety to command arguments. The current restriction felt arbitrary.

Exposing the raw input values is great when the command exposes another command you want to limit.

Preventing incompatible mode flags might be a less important change after this list, but I think it is an important one.

Miscellaneous

Added OSC progress state. You probably seen the progressbar on top of the page when you are reading an article on a website. This is also possible in the terminal. I didn't know that, but it is nice when you scrolled up in the terminal.

The partial command name list is now alphabetical. Having order is always better than chaos.

Conclusion

Of course the release contains other features, like DeepCloner, but the main focus seems to be on CLI features.

And with the HTTP-less application the framework is moving from a web focused framework to a general use framework. Where the TUI component showed PHP CLI code isn't only for basic commands, Symfony 8.1 shows it can do more than only websites. It was already possible when you brought your own tools, but now you can do it using Symfony conventions.

This is going to be a great release!