aaronadal/config-bundle
Symfony bundle that loads configuration from multiple YAML files automatically. Define default and environment-specific glob paths; files in the current environment override defaults. Uses Symfony cache for fast startup and cleaner parameter/service management.
dev/, prod/), reducing clutter in config.yml and improving maintainability.defaults/ and overriding them per environment, reducing duplication.APP_ENV) to dynamically load configurations, aligning with CI/CD pipelines or multi-stage deployments.config/parameters/staging/feature_flags.yml).config/parameters/tenant1/).config.yml or parameters.yml.include statements in Symfony’s core config files.AppKernel.php registration).parameters.yml file suffices).*"This package lets us manage app configurations like a pro—no more hunting through config.yml for environment-specific settings. Imagine:
config/parameters/dev/database.yml), making onboarding easier.*"This bundle solves a pain point in Symfony apps: configuration sprawl. Here’s why it’s worth adopting:
includeing files in config.yml. Just drop configs in config/parameters/:env/ and let the bundle handle overrides.config/parameters/*.yml) for granular control.*"Tired of editing config.yml every time you need a dev-only setting? This bundle lets you:
config/parameters/defaults/, overrides in config/parameters/dev/.include statements—just drop files in the right folder.# config/parameters/defaults/database.yml
database_url: "postgres://default:pass@localhost:5432/app"
# config/parameters/dev/database.yml (overrides above)
database_url: "postgres://dev:pass@localhost:5433/app_dev"
Setup is trivial: Install via Composer, register the bundle in AppKernel.php, and define paths in config.yml. Perfect for teams that want clean, environment-aware configs without complexity."
How can I help you explore Laravel packages today?