Download the PHP package roygoldman/drupal-env-settings without Composer
On this page you can find all versions of the php package roygoldman/drupal-env-settings. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download roygoldman/drupal-env-settings
More information about roygoldman/drupal-env-settings
Files in roygoldman/drupal-env-settings
Package drupal-env-settings
Short Description A library to generate Drupal projects settings using environmental variables.
License GPL-2.0-or-later
Informations about the package drupal-env-settings
Drupal Env Settings
This project provides a composer command to generate Drupal configuration and settings using environmental variables.
Usage
To include the commands in your project, simiply add this as a dependency to your Composer project.
Once added to the project, add the desired configuration to your project's
composer.json
. Configuration should be added to your project's extras
block
as follows.
Settings configuraiton supports nested settings. Nested settings will be
converetd into a php array when they are added to the Drupal settings.php
.
Once basic configuration is added, run the following commands to generate the
settings.php
and config files respectfully.
Command Usage
The following documents the default command arguements for the two commands.
Extending
If you find the need for additional generators, you can add them to them using the following snippet.
Contributing
Please report any issues with this project and submit questions on to the GitHub issue queue. I will do my best to follow up with any issues or questions as quickly. If you develop a feature, or fix a bug, please open a pull request to add the changes to the project.
All versions of drupal-env-settings with dependencies
composer-plugin-api Version ^1.0.0
webflo/drupal-finder Version ^1.0.0