Pimcore 5.4 makes Pimcore a Composer Library

Profound changes but compatible with existing application code and bundles! We expect much more stable, massively faster and less problematic updates. What has changed?

Pimcore is now a Composer Library

Composer is an application-level package manager for the PHP programming language that provides a standard format for managing dependencies of PHP software and required libraries. Composer runs through the command line and installs dependencies (e.g. libraries) for an application. It allows users to install PHP applications that are available on Packagist which is its main repository containing available packages. It provides autoload capabilities for libraries that specify autoload information to ease usage of third-party code.

Pimcore is now located in /vendor/pimcore/pimcore and no longer in the /pimcore folder. Because of that, Pimcore will no longer be part of the Git Repo, but will be treated like any other dependency. In addition, the project-specific composer.json will be much clearer, an example can be found here. In the course of this, the folder structure of the main repository of Pimcore has also changed a bit. Short version: everything that used to be in /pimcore is now one level higher, the project-specific files & folders are now in their own repositories, eg:

Pimcore is updated via Composer

The old, GUI-based updater has served its purpose. In the future, Pimcore will be updated by Composer, like all other dependencies. So of course it is important to always have the correct version constraint in composer.json for pimcore/pimcore. Example: If you have Constraint 5.4.* and you are currently on 5.4.0 - but the most current version is 5.4.3 - then a composer update automatically updates to 5.4.3. We expect much more stable, massively faster and less problematic updates. Additional sweet stuff you might like:

  • Core Migrations (update scripts from Pimcore) can now be executed manually:
    ./bin/console pimcore: migrations: migrate -s pimcore_core

  • Rollbacks will almost always be possible

Learn more

Visit the Pimcore developer community forums.

Christian Kemptner
  • Marketing & Partner Management
122 articolo di

Leggi altre notizie da Pimcore

Since the release of Pimcore 6.0, hundreds of useful new features have been added to Pimcore. Our community of partners, developers, and customers have contributed so much, we...
February 23, 2020
With the help of our partners, developers, and Pimcore enthusiasts community, we have released a new Pimcore version. More than 100 improvements, features, and bug fixes are...
April 01, 2020
Thanks to our partners, developers, and Pimcore enthusiasts community, we have released Pimcore 6.7. Once again, your dedication to this project enabled us to take the greatest...
August 13, 2020
Pimcore provides powerful behavioral targeting and personalization capabilities. It can profile your prospects and customers based on their interactions with your company. Show...
August 18, 2020

82 000+ businesses trust Pimcore. Discover our 250+ favorite success stories.