Sometimes composer-loaded dependencies are buggy or are missing something you need.
1.) Is it in general allowed to touch/edit anything that composer loaded ?
2.) If yes, then how to prevent these edit from being overwritten / generating conflicts with the next update
3.) If no, then what the way-to-go when edits of composer-loaded dependencies are needed ?
The simple answer is no.
You can edit the files, but the changes are not permanent.
You have to find a way to get the bug fixed. Available methods are:
composer.json
during the time for a) to happen. You might have to alias the dev-master branch (or whatever branch you used to fix the bug) as the next version to satisfy all dependencies.composer.json
that this new software replaces the old one. Please see my answer here for details.If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With