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

[5.5] Add Detection of dont-discover in Packages #20921

Merged
merged 1 commit into from
Sep 2, 2017

Conversation

mikebronner
Copy link
Contributor

@mikebronner mikebronner commented Sep 1, 2017

dont-discover In Packages

Goal

Allow packages to declare other packages as non-discoverable in order to prevent conflicts.

Problem

Packages that have auto-discoverable packages as dependencies, and which purpose it is to extend those packages, can be over-riden (depending on load order) by their auto-discovered dependency. Most of the time this is not an issue, but is very much an issue when the alias being declared are the same. This is necessary so that the extending package can act as a drop-in replacement of the dependency package.

Solution

Allow packages to declare dont-discover packages in their composer.json to prevent from being over-riden.

@mikebronner mikebronner changed the title Add Detection of dont-discover in Packages [5.5] Add Detection of dont-discover in Packages Sep 1, 2017
@taylorotwell taylorotwell merged commit 08f4380 into laravel:5.5 Sep 2, 2017
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