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

Install require-dev by default #1005

Closed
igorw opened this issue Aug 16, 2012 · 3 comments · Fixed by #1644
Closed

Install require-dev by default #1005

igorw opened this issue Aug 16, 2012 · 3 comments · Fixed by #1644
Labels
Milestone

Comments

@igorw
Copy link
Contributor

igorw commented Aug 16, 2012

In context of the root package, in most cases you will want to develop something with that package. So it really would make sense to just install the dev dependencies by default, and have --no-dev or --no-require-dev to disable if needed.

FWIW: This is the behaviour of NPM.

@Seldaek
Copy link
Member

Seldaek commented Aug 17, 2012

I agree. Although I think we should fix the require-dev issues (that package not found thing) before doing the change. @naderman thoughts?

@igorw
Copy link
Contributor Author

igorw commented Nov 7, 2012

What's the status on this? Has the require-dev thing been resolved?

@kingcrunch
Copy link
Contributor

As a suggestion (I made this in the now closed duplicate): I would prefer to set the default in ~/.composer/config.json and enable/disable the development packages with --dev, or --no-dev respectively.

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

Successfully merging a pull request may close this issue.

3 participants