Comment on How do you manage PHP edits across application upgrades?
vk6flab@lemmy.radio 3 days ago
PHP is written in text files which can be managed using any number of version control systems. Pick your poison.
en.wikipedia.org/…/List_of_version-control_softwa…
As someone else said, you can document your patches with a Docker file, but you’ll still need to track your changes.
Ultimately, what you’re essentially doing is maintaining a local fork of the code and keeping it synchronised with upstream.
kiol@discuss.online 3 days ago
For dokuwiki, I’ve found I can safely edit many menus by copying them from /inc to /conf. So far, so good.