shopware / deployment-helper
Shopware deployment tools
Installs: 12 566
Dependents: 3
Suggesters: 0
Security: 0
Stars: 9
Watchers: 8
Forks: 4
Open Issues: 4
Requires
- php: >=8.2
- ext-dom: *
- ext-pdo: *
- digilist/dependency-graph: >=0.4.1
- doctrine/dbal: ^3.0 || ^4.0
- symfony/config: ^7.0 || ^6.0
- symfony/console: ^7.0 || ^6.0
- symfony/dependency-injection: ^7.0 || ^6.0
- symfony/dotenv: ^7.0 || ^6.0
- symfony/event-dispatcher: ^7.0 || ^6.0
- symfony/filesystem: ^7.0 || ^6.0
- symfony/finder: ^7.0 || ^6.0
- symfony/http-client: ^7.0 || ^6.0
- symfony/process: ^7.0 || ^6.0
- symfony/yaml: ^7.0 || ^6.0
Requires (Dev)
- friendsofphp/php-cs-fixer: v3.64.0
- phpstan/extension-installer: 1.4.3
- phpstan/phpstan: 1.12.4
- phpstan/phpstan-deprecation-rules: 1.2.1
- phpstan/phpstan-phpunit: 1.4.0
- phpstan/phpstan-strict-rules: 1.6.1
- phpstan/phpstan-symfony: 1.4.9
- phpunit/phpunit: ~11.3
- symfony/var-dumper: ^7.0 || ^6.0
- zalas/phpunit-globals: ^3.3
README
This is a helper script to install or update Shopware on the target system. It's independent of the Shopware version and can be used for all versions newer 6.5.
Installation
composer require shopware/deployment-helper
Usage
The idea is that you build the source code in the pipeline and then use this script on the target system to install or update the Shopware instance.
vendor/bin/shopware-deployment-helper run
This will detect is Shopware installed, when not will install it, otherwise will update it.
The following tasks are executed:
- Installation / Updates of Apps / Plugins
- Compile the Theme (no Webpack, should happen before in the CI pipeline)
- Check if a Shopware version changed and running Shopware upgrade scripts