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 dev flag to install command #7

Merged
merged 1 commit into from
Nov 7, 2024
Merged

Conversation

getJv
Copy link
Contributor

@getJv getJv commented Nov 3, 2024

Updates the composer require command to use --dev and avoid extra an extra prompt

Current state

The command in the docs generates the followng output:

/var/www/html/laravel-solutions $ composer require spatie/laravel-error-solutions
The package you required is recommended to be placed in require-dev (because it is tagged as "dev") but you did not use --dev.
Do you want to re-run the command with --dev? [yes]?

Proposal

Once the package is tagged as dev using the flag will prevent an extra user prompt

Updates the composer require command to use --dev and avoid an extra prompt
@riasvdv riasvdv merged commit 18409a8 into spatie:main Nov 7, 2024
1 check passed
@riasvdv
Copy link
Member

riasvdv commented Nov 7, 2024

Thanks!

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.

3 participants