TuckConverterBundle
Adds the Symfony2 command container:convert which converts service config files to other formats
Install / Use
/learn @rosstuck/TuckConverterBundleREADME
TuckConverterBundle
Adds the Symfony2 command "container:convert" which converts service config files to other formats
For one-off files, there's also a hosted Web UI you can use instead of installing this bundle.
What it does
You can specify the file to convert either on the commandline:
./app/console container:convert yml path/to/file.xml
Or leave out the file and do the conversion interactively.
./app/console container:convert yml
Adding the -o flag will output the new file instead of prompting you to write it, presumably so you can pipe it to another process somewhere.
The actual conversion is based on Symfony's built-in loaders and dumpers, so this should be exceedingly reliable.
TODO
- Remove a coupling on input for file extension
- Update the DependencyInjection/*Extension files as well (perhaps with PHP-Parser?)
- Moar tests
Installation
Run the command below to install via Composer
composer require tuck/converter-bundle
Related Skills
node-connect
350.8kDiagnose OpenClaw node connection and pairing failures for Android, iOS, and macOS companion apps
frontend-design
110.4kCreate distinctive, production-grade frontend interfaces with high design quality. Use this skill when the user asks to build web components, pages, or applications. Generates creative, polished code that avoids generic AI aesthetics.
openai-whisper-api
350.8kTranscribe audio via OpenAI Audio Transcriptions API (Whisper).
qqbot-media
350.8kQQBot 富媒体收发能力。使用 <qqmedia> 标签,系统根据文件扩展名自动识别类型(图片/语音/视频/文件)。
