Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add an option to disable parameter handler in composer production mode #118

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

MartinLG
Copy link

When you use the composer post-install scripts to build your app in production, you don't always want your parameters to be handled by the parameter handler.
We have the option to run composer with the --no-scripts flag, and create an other script to call after the composer install specifically in production, but it seems less comfortable than just add an option to disable the parameter handler when the --no-dev flag is given to composer.

README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
{
"extra": {
"incenteev-parameters": {
"dev-only": true
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This does does not correspond to the implementation.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants