composer require mangoweb-sylius/sylius-inventory-update-plugin
- Add plugin classes to your
config/bundles.php
:return [ ... MangoSylius\InventoryUpdatePlugin\MangoSyliusInventoryUpdatePlugin::class => ['all' => true], ];
- Add resource to
config/packages/_sylius.yaml
imports: ... - { resource: "@MangoSyliusInventoryUpdatePlugin/Resources/config/resources.yml" }
- Add routing to
config/_routes.yaml
mango_sylius_extended_channels: resource: '@MangoSyliusInventoryUpdatePlugin/Resources/config/routing.yml' prefix: /admin
- Develop your plugin in
/src
- See
bin/
for useful commands
After your changes you must ensure that the tests are still passing.
$ composer install
$ bin/console doctrine:schema:create -e test
$ bin/behat
$ bin/phpstan.sh
$ bin/ecs.sh
This library is under the MIT license.
Developed by manGoweb.