Skip to main content
Version: 2024.4

Installation

Minimum Requirements

  • Pimcore >= 11.2
  • Pimcore Datahub >= 1.1

Please note that the Datahub bundle needs to be installed first.

Installation Process

To install Pimcore Headless Documents, follow the three steps below:

  1. Install the required dependencies:
composer require pimcore/headless-documents
  1. Make sure the bundle is enabled in the config/bundles.php file. The following lines should be added:
use Pimcore\Bundle\HeadlessDocumentsBundle\PimcoreHeadlessDocumentsBundle;
// ...

return [
// ...
// make sure PimcoreDataHubBundle is added before to that list
// ...
PimcoreHeadlessDocumentsBundle::class => ['all' => true],
// ...
];
  1. Install the bundle:
bin/console pimcore:bundle:install PimcoreHeadlessDocumentsBundle

Required Backend User Permission

To create or modify Headless Document templates & bricks configuration, user needs to meet one of following criteria:

  • be an admin
  • have pimcore_headless_documents_config permission