Skip to content

curler7/SyliusSalesReportsPlugin

 
 

Repository files navigation

Banner of Sylus Sales Reports plugin

Sylius Sales Reports

Sales Reports Plugin license Tests Status Recipe Status Security Status

A simple plugin to have sales reports in Sylius

Reports form

Compatibility

Sylius Version PHP Version
1.11 8.0 - 8.1
1.12 8.1 - 8.2
1.13 8.1 - 8.2

Installation

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-sales-reports-plugin

Change your config/bundles.php file to add the line for the plugin :

<?php

return [
    //..
    MonsieurBiz\SyliusSalesReportsPlugin\MonsieurBizSyliusSalesReportsPlugin::class => ['all' => true],
];

Finally import the routes in config/routes/monsieurbiz_sylius_sales_reports_plugin.yaml :

monsieurbiz_sales_reports_plugin:
    resource: "@MonsieurBizSyliusSalesReportsPlugin/Resources/config/routing.yaml"

Reports

All reports columns are sortable by clicking on it.

Global sales report

Global sales report

Average sales report

Average sales report

Product report

Product report

Product variant report

Product variant report

Option report

Option report

Option value report

Option value report

Add your custom reports !

An event is available to add your custom reports, see CustomReportEvent class in the plugin.

Contributing

You can open an issue or a Pull Request if you want! 😘
Thank you!

About

A simple plugin to have sales reports in Sylius

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 62.1%
  • Twig 23.1%
  • Makefile 8.2%
  • JavaScript 6.6%