Displays Symfony Messenger messages in Sylius admin panel
Sylius Version | PHP Version |
---|---|
1.12 | 8.1 - 8.2 |
1.13 | 8.1 - 8.2 |
If you want to use our recipes, you can configure your composer.json by running:
composer config --no-plugins --json extra.symfony.endpoint '["https://api.github.com/repos/monsieurbiz/symfony-recipes/contents/index.json?ref=flex/master","flex://defaults"]'
composer require monsieurbiz/sylius-messenger-admin-plugin
For the installation without flex, follow these additional steps
Change your config/bundles.php
file to add this line for the plugin declaration:
<?php
return [
//..
MonsieurBiz\SyliusMessengerAdminPlugin\MonsieurBizSyliusMessengerAdminPlugin::class => ['all' => true],
];
Then create the config file in config/packages/monsieurbiz_sylius_messenger_admin_plugin.yaml
:
imports:
resource: '@MonsieurBizSyliusMessengerAdminPlugin/Resources/config/config.yaml'
Finally import the routes in config/routes/monsieurbiz_sylius_messenger_admin_plugin.yaml
:
monsieurbiz_messenger_admin:
resource: '@MonsieurBizSyliusMessengerAdminPlugin/Resources/config/routes/admin.yaml'
prefix: '/%sylius_admin.path_name%/messages'
You can open an issue or a Pull Request if you want! 😘
Thank you!