A Composer script that manages ignored parameter files during installation and updates.
ParameterHandler is a Composer script that automates the management of ignored parameter files in PHP applications. It creates or updates configuration files (like parameters.yml) from distribution templates during Composer install or update, handling missing values through interactive prompts or environment variables. It solves the problem of manually managing configuration parameters across different environments.
PHP developers using Composer for dependency management, particularly those building applications that require environment-specific configuration files (e.g., Symfony projects with parameters.yml). It is also useful for teams needing consistent configuration handling across development, staging, and production deployments.
Developers choose ParameterHandler for its seamless integration with Composer workflows, eliminating manual configuration file updates. Its unique selling point is the combination of interactive prompting for development, environment variable support for production, and features like parameter renaming and multi-file management, providing a pragmatic and automated approach to configuration.
Composer script handling your ignored parameter file
Open-Awesome is built by the community, for the community. Submit a project, suggest an awesome list, or help improve the catalog on GitHub.
Prompts for missing parameters during Composer install/update with defaults from .dist files, reducing manual errors in development environments.
Integrates environment variables via env-map for non-interactive setups, enabling secure and automated deployments to staging and production.
Supports rename-map to transfer values from old to new parameter names, easing configuration refactoring without data loss.
Manages multiple ignored files with separate settings in composer.json, ideal for projects with diverse configuration needs like parameters.yml and databases.yml.
Overwrites comments and spaces in parameters files, forcing all formatting to be maintained in .dist files, which can hinder inline documentation and readability.
Automatically removes parameters not in the .dist file unless 'keep-outdated' is set, risking accidental deletion of custom or legacy settings.
Only executes on Composer install/update commands, making it unsuitable for real-time configuration changes or environments where Composer isn't used in deployment.