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.

If you want to follow along or help out, check out our blog on a regular basis. Or follow the development in real-time on GitHub. Or become Pimcore Partner and receive newsletters, invitations to webinars, and more.

Thanks for choosing Pimcore. See you soon for the next version!

Christian Kemptner
  • Marketing & Partner Management
140 articolo di

Leggi altre notizie da Pimcore

During Pimcore Inspire 2020, Pimcore announced loads of additional benefits to its existing Enterprise Subscription. Learn more about the entry point to the enterprise world and...
dicembre 13, 2020
With the new Pimcore Enterprise Marketplace, subscribers to the Pimcore Enterprise Subscription now have access to additional Enterprise Extensions provided by our partners. In...
febbraio 08, 2021
Pimcore X, the tenth release of the leading open-source Pimcore Platform will be released officially with the first release candidate on March 31, 2021. Ten years of Pimcore, ten...
febbraio 03, 2021
Going headless is not only a trend in the content management and experience management market, but also in the field of product information management and master data management....
febbraio 03, 2021

100 000+ businesses trust Pimcore. Discover our 350+ favorite success stories.