3. Update the app¶
At this point, you should have a composer.json
file with the correct requirements. Run composer update
to update the dependencies.
1 | composer update |
If you want to first test how the update proceeds without actually updating any packages, you can try the command with the --dry-run
switch:
composer update --dry-run
When updating from <1.13
Adding EzSystemsPlatformEEAssetsBundle¶
EZ ENTERPRISE
When upgrading to v1.10, you need to enable the new EzSystemsPlatformEEAssetsBundle
by adding:
new EzSystems\PlatformEEAssetsBundle\EzSystemsPlatformEEAssetsBundle(),
in app/AppKernel.php
.
Updating from <2.5
Since v2.5 eZ Platform uses Webpack Encore for asset management. You need to install Node.js and Yarn to update to this version.
In v2.5 it is still possible to use Assetic, like in earlier versions.
However, if you are using the latest Bootstrap version, scssphp
will not compile correctly with Assetic.
In this case, use Webpack Encore. See Importing assets from a bundle for more information.
Common errors
If you experienced issues during the update, please check Common errors section on the Composer about page.