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

[11.x] Add an option to replace configs recursively #52087

Merged
merged 2 commits into from
Jul 12, 2024

Conversation

felixbessler
Copy link
Contributor

Disclaimer
This is my first PR for an external package, if there is anything else I should add, please let me know.

The problem

We develop a sub-package for several customers and add another value to an array in an already existing config file. Currently, we would then have to make a PR for all our customers and add the value in the config file of the project, because some parts of this array are configurable but some parts are required.

The solution

To make it easier for package developers and required values in arrays, we need a way to not only merge the config, but also to make it recursively replaceable. My relatively simple, but hopefully charming way would be the solution here in PR.

🦄

@felixbessler felixbessler changed the title Add an option to replace configs recursively [11.x] Add an option to replace configs recursively Jul 11, 2024
@taylorotwell taylorotwell merged commit 08bff7a into laravel:11.x Jul 12, 2024
28 checks passed
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