V
V
Vadim2017-03-04 00:31:28
CMS
Vadim, 2017-03-04 00:31:28

How to build distributions correctly?

Good afternoon
There is a program that has several editions that differ in functionality.
Depending on the key, the server collects the distribution in zip with a certain set of modules and sends it for download.
How to properly store distributions on the server?
1. Option: On the server in one zip archive there is a core + all modules (maximum edition).
Depending on the key, the necessary modules are removed, leaving only what is available for this user.
In this option, we work with only 1 archive (we open 1, we create the second).
One version - 1 archive.
2. Option: The core (minimum edition) and 10 modules are stored in separate zip archives on the server.
Depending on the key, I add the necessary modules and create an archive.
Here, to create an archive, you have to open several archives in order to collect everything into one.
One version - 1 folder and it has a lot of archives.
PHP ZipArchive is used for assembly.
Thanks

Answer the question

In order to leave comments, you need to log in

1 answer(s)
S
sim3x, 2017-03-04
@sim3x

composer

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question