Installation
- Run
composer require webgriffe/sylius-akeneo-plugin akeneo/api-php-client -
Add
Webgriffe\SyliusAkeneoPlugin\WebgriffeSyliusAkeneoPlugin::class => ['all' => true]to yourconfig/bundles.php.Normally, the plugin is automatically added to the
config/bundles.phpfile by thecomposer requirecommand. If it is not, you have to add it manually. - Add basic plugin configuration by creating the
config/packages/webgriffe_sylius_akeneo_plugin.yamlfile with the following content:imports: - { resource: "@WebgriffeSyliusAkeneoPlugin/config/config.php" } - Import the routes needed for the plugin by adding the following to your
config/routes.yamlfile:webgriffe_sylius_akeneo_plugin_admin: resource: "@WebgriffeSyliusAkeneoPlugin/config/routes/admin.php" prefix: '/%sylius_admin.path_name%' - Run the migrations to create the tables needed by the plugin:
bin/console doctrine:migrations:migrate - Finish the installation by installing assets:
bin/console assets:install bin/console sylius:theme:assets:install - Optional (usually only on production or pre-production environments). Install the suggested crontab.