mangoweb-sylius/sylius-inventory-update-plugin

Improved inventory management plugin for Sylius.

This package is auto-updated.

Last update: 2024-04-22 19:55:55 UTC


README

38423357?s=200&v=4

Inventory update plugin
68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d616e676f7765622d73796c6975732f73796c6975732d696e76656e746f72792d7570646174652d706c7567696e2e737667 68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616e676f7765622d73796c6975732f73796c6975732d696e76656e746f72792d7570646174652d706c7567696e2e737667 68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d616e676f7765622d73796c6975732f53796c697573496e76656e746f7279557064617465506c7567696e2f6d61737465722e737667

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.