c33s/symfony-config-manipulator-bundle
Symfony2 bundle to keep YAML config organized by splitting app/config/config*.yml into section files (framework, doctrine, twig, etc.) and rewriting imports accordingly. Helps declutter large config.yml files and manage per-environment configs cleanly.
config/app.php into modular, environment-specific files (e.g., config/auth.php, config/cache.php). This aligns with Laravel’s growing emphasis on configuration-as-code and package-based configs (e.g., config/packages/).config/app.php by isolating config sections, improving onboarding and team productivity—critical for large teams or legacy Laravel apps with sprawling configs.config/env.php + modular files) without duplication, reducing deployment risks.config:publish, Artisan commands) instead of adopting Symfony-specific solutions. If a custom tool is needed, it can be built lightweight and Laravel-idiomatic.Avoid if:
config/packages/, config/env.php, or published package configs).config:publish, env() helper) over third-party solutions.config_splitter is less relevant (Laravel’s config system is more mature).Consider if:
For Executives:
"This Symfony package shows us how NOT to manage Laravel configs—but it highlights a critical gap in our current setup. Right now, our config/app.php is a monolithic mess, causing merge conflicts and slowing down deployments. While we can’t use this package directly, we can borrow its philosophy to build a Laravel-native config organizer—splitting config/app.php into modular files (e.g., config/auth.php, config/cache.php) to make our stack scalable and team-friendly. This is a low-cost, high-impact fix for a common pain point, with minimal dev effort. Think of it as ‘Git for configs’—version-controlled, maintainable, and collision-proof."
For Engineers: *"This bundle doesn’t work for Laravel, but it’s a great case study for why we should modularize our configs. Here’s what we can learn:
config.yml becomes unmanageable. Same happens to Laravel’s config/app.php in large apps.config/mail.php, config/queue.php) to:
app.php edits).cache.driver in config/cache.php).config/debug.php in config/env.php).config/app.php into new files (use config:publish for packages).app.php (parse PHP with token_get_all() to preserve comments).For PMs: *"This is a red flag for Laravel config hygiene—but also an opportunity to future-proof our stack. Here’s why it matters:
config/app.php is a scaling bottleneck (merge hell, onboarding pain).Artisan and config/ system.How can I help you explore Laravel packages today?