From 905f8edcafa510608d3ac2b37053fa6272ea6743 Mon Sep 17 00:00:00 2001 From: Peter Bech Date: Mon, 5 Nov 2018 14:00:11 +0100 Subject: [PATCH] Upgrade to Sylius v1.3 --- README.md | 27 ++++++++------------------- composer.json | 3 +-- 2 files changed, 9 insertions(+), 21 deletions(-) diff --git a/README.md b/README.md index 1158221f..a49d67f5 100644 --- a/README.md +++ b/README.md @@ -25,25 +25,14 @@ This command requires you to have Composer installed globally, as explained in t ### Step 2: Enable the plugin Then, enable the plugin by adding it to the list of registered plugins/bundles -in the `app/AppKernel.php` file of your project: +in `config/bundles.php` file of your project: ```php ['all' => true], // ... } ``` @@ -51,7 +40,7 @@ final class AppKernel extends Kernel ### Step 3: Configure the plugin ```yaml -# app/config/config.yml +# config/services.yml imports: # ... @@ -59,14 +48,14 @@ imports: ``` ```yaml -# app/config/routing.yml +# config/routing.yml loevgaard_sylius_brand: resource: "@LoevgaardSyliusBrandPlugin/Resources/config/routing.yml" ``` ```yaml -# src/AppBundle/Resources/config/doctrine/Product.orm.yml +# config/doctrine/Product.orm.yml AppBundle\Entity\Product: type: entity @@ -83,7 +72,7 @@ AppBundle\Entity\Product: ```php