diff --git a/UPGRADE.md b/UPGRADE.md index b55cd353..7bf363bf 100644 --- a/UPGRADE.md +++ b/UPGRADE.md @@ -18,7 +18,7 @@ + - { resource: '@SyliusInvoicingPlugin/config/config.yaml' } ``` - And the routes configuration paths: + The routes configuration paths: ```diff sylius_invoicing_plugin_admin: - resource: "@SyliusInvoicingPlugin/Resources/config/app/routing/admin_invoicing.yml" diff --git a/docs/legacy_installation.md b/docs/legacy_installation.md index 90a475a2..352f7553 100644 --- a/docs/legacy_installation.md +++ b/docs/legacy_installation.md @@ -5,13 +5,13 @@ ```bash composer require sylius/invoicing-plugin ``` - -1. Add plugin class to your `AppKernel`: + +1. Add plugin class and other required bundles to your `config/bundles.php`: ```php $bundles = [ - new \Knp\Bundle\SnappyBundle\KnpSnappyBundle(), - new \Sylius\InvoicingPlugin\SyliusInvoicingPlugin(), + Knp\Bundle\SnappyBundle\KnpSnappyBundle::class => ['all' => true], + Sylius\InvoicingPlugin\SyliusInvoicingPlugin::class => ['all' => true], ]; ```