Lightweight local command to calculate the Sylius instance GMV within a specific period
- Calculate GMV for a specified period. Default period is the last whole year.
- Exclude taxes and shipping costs from GMV calculation.
- Provide GMV in multiple currencies.
Add the bundle to your Sylius project:
composer require sylius/gmv-bundle
You can calculate the GMV for a specified period using the Symfony console command:
bin/console sylius:gmv:calculate [periodStart] [periodEnd]
The periodStart
and periodEnd
arguments are optional and should be in the mm/YYYY
format. If not provided, the command will calculate the GMV for the last whole year.
The following command will calculate the GMV for the period from 1 January 2024 to 31 May 2024:
bin/console sylius:gmv:calculate 01/2024 5/2024
Example command output:
GMV Calculation
Period Start: 2024-01-01
Period End: 2024-05-31
GMV in USD: $3,247.28
This page contains all the information about contributing to Sylius.
If you want to keep up with the updates and latest features, follow us on the following channels:
Sylius uses GitHub issues. If you have found bug, please create an issue.
License can be found here.
See the list of contributors.