Closed fixpunkt closed 4 years ago
I've proposed the general idea to Shopware in the shopware6-pickware channel.
Shopware's Michael T. was originally planning to implement approach 1 by using Composer's PHP API to actually require plugins into the Shopware installation and then have plugin dependencies loaded from an authenticated Satis-compatible repository. This approach proved not to be viable because the require took multiple minutes, which is not acceptable when plugin installation is performed as part of a PHP server request (due to max_execution_time
).
We've agreed to make a PR implementing approach 2. This likely requires us to do a PR for #1 first.
Support for this was added in https://github.com/shopware/platform/pull/32.
I've taken a look at how this could be implemented.
Preferably, we'd want to integrate this into the Shopware Next platform. There's two basic approaches how this could be accomplished: