mangoweb-sylius/sylius-inventory-update-plugin

Improved inventory management plugin for Sylius.

This package is auto-updated.

Last update: 2024-10-22 21:02:22 UTC


README

Inventory update plugin

Installation

  1. composer require mangoweb-sylius/sylius-inventory-update-plugin
  2. Add plugin classes to your config/bundles.php:
    return [
       ...
       MangoSylius\InventoryUpdatePlugin\MangoSyliusInventoryUpdatePlugin::class => ['all' => true],
    ];
  3. Add resource to config/packages/_sylius.yaml
    imports:
         ...
         - { resource: "@MangoSyliusInventoryUpdatePlugin/Resources/config/resources.yml" }
  4. Add routing to config/_routes.yaml
    mango_sylius_extended_channels:
        resource: '@MangoSyliusInventoryUpdatePlugin/Resources/config/routing.yml'
        prefix: /admin

Development

Usage

  • Develop your plugin in /src
  • See bin/ for useful commands

Testing

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

License

This library is under the MIT license.

Credits

Developed by manGoweb.