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 special dev to composer keywords #1713

Merged
merged 1 commit into from
Jan 3, 2025
Merged

Conversation

jnoordsij
Copy link
Contributor

@jnoordsij jnoordsij commented Jan 3, 2025

The special dev keyword will warn users who run composer require barryvdh/laravel-debugbar with the following prompt:

> composer require barryvdh/laravel-debugbar
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]?

See also https://getcomposer.org/doc/04-schema.md#keywords.

@barryvdh barryvdh merged commit 11d5373 into barryvdh:master Jan 3, 2025
33 checks passed
@jnoordsij jnoordsij deleted the patch-1 branch January 3, 2025 15:36
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.

2 participants