Following Symfony example, I think it would be nice for next major version of PrestaShop to be available through Composer package manager as a set of components or a distribution.
Create components:
prestashop/prestashop-core
that contains all the Core classesprestashop/prestashop-frontoffice
that contains the FO classesprestashop/prestashop-backoffice
that contains the BO classes and themeprestashop/classic-theme
that contains the Classic Theme for FOprestashop/prestashop-api
that contains the API classesAnd provide also the following packages:
prestashop/prestashop-app-light
that contains a light prestashop distribution, ready to useprestashop/prestashop-app-full
that contains a full prestashop distribution, ready to useAs the split might be very heavy to do, maybe we can first start by providing prestashop/prestashop-core
and prestashop/prestashop-app-full
.
prestashop/prestashop-core
would be useful for modules that would require it. This would allow for example full test integration possible with CI
ping @PrestaShop/prestashop-core-developers
Could be cool to remove the unneeded prefix prestashop-
which is already in prestashop/
:)
Additionnal usage: being able to use composer create-project command to create a new PS project:
php composer.phar create-project prestashop/prestashop 8.0.*
or even provide a PrestaShop installer CLI (like Symfony does) to be able to do
prestashop-cli new my_project_name
ping @MDWeb-Lille this one we discussed it yesterday 馃槈
Most helpful comment
Additionnal usage: being able to use composer create-project command to create a new PS project:
or even provide a PrestaShop installer CLI (like Symfony does) to be able to do
ping @MDWeb-Lille this one we discussed it yesterday 馃槈