virtualMachinepimcore

Install plugins

NOTE: In previous versions of Pimcore, a plugin system allowed you to hook into the system to add custom functionalities. Starting with Pimcore 5, the plugin system was replaced by native Symfony bundles. For more information, refer to the official documentation.

To install a plugin on Pimcore 4.6.x or lower, follow these steps:

  • Edit the /opt/bitnami/apps/pimcore/htdocs//composer.json file and add the following lines at the end (once):

    "config": {
            "document-root-path": "./"
    }
    
  • Edit the section require adding a new line for each plugin to install (don’t forget to add a comma at the end of the previous plugin lines):

    "require": {
            [other plugins],
            "pimcore/example-areabrick": ">=1"
    }
    
  • Run composer with the following command (while in the /opt/bitnami/apps/pimcore/htdocs/ directory):

    $ sudo /opt/bitnami/php/bin/php /opt/bitnami/php/bin/composer.phar install
    
  • Access the Pimcore administration panel and navigate to the “Extras -> Extensions” menu. You should see all installed plugins and you can enable/disable them.

Plugins configuration

To update plugin versions, run composer again (while in the /opt/bitnami/apps/pimcore/htdocs/ directory)

$ sudo /opt/bitnami/php/bin/php /opt/bitnami/php/bin/composer.phar update
Last modification September 3, 2018