Welcome Guest, Not a member yet? Register   Sign In
Best place for config files from vendor packages
#1

Hi,
when installing (with composer) a package, it can happen config files are provided withing the package. I can see 2 main approaches: 
1. Leaving and set the configs in their original packages
2. Moving them into main app/config directory

What ist better solution in your opinion? Especially in terms of upgrading the packages. 
I don't like changing the code in vendor packages. It is also annoying to check and migrate configs again after an upgrade of the package.
Thanks in advance for your opinion.
Reply
#2

Option 2 all days in the week. Or your configuration would be overwritten when updating.
Reply
#3

(05-11-2020, 10:43 PM)jreklund Wrote: Option 2 all days in the week. Or your configuration would be overwritten when updating.
Thank you for your answer! It makes sense.
Reply




Theme © iAndrew 2016 - Forum software by © MyBB