V
V
Vit2016-06-02 19:27:19
Software Deployment
Vit, 2016-06-02 19:27:19

How to organize the update of php modules?

I'm in the design phase. Help me come up with the right plan.
There will be 3-5 sites using common modules "forum", "reviews". Each site will have specific fields in the mysql table for these modules and at the same time I want to centrally update these modules.
Advise the tools on how to correctly implement this. You can definitely update modules with composer. How can I make settings for a specific site? How to set up auto-update? Thank you.

Answer the question

In order to leave comments, you need to log in

2 answer(s)
M
Mikhail Osher, 2016-06-02
@miraage


How can I make settings for a specific site?
It would be nice to do this through the Laravel Package using the Service Provider - there will be a configuration.
How to set up auto-update?
There are a lot of options here, depending on how the deployment happens, etc.
3-5 sites - you can sketch a bash script that, after updating this module, will update dependencies in all sites.

S
Sergey, 2016-06-02
Protko @Fesor

composer
Just take out the settings, they are not stored in git. If you plan to set up auto-deploy, then all the differences in ENV variables and resolve everything at the CI server level (for example, it resolves like this for me, by job on the server, so that all the security things would be hidden and not stored in GIT at the same time)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question