sylius/gmv-bundle 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

sylius/gmv-bundle

最新稳定版本:v1.0.0

Composer 安装命令:

composer require sylius/gmv-bundle

包简介

Lightweight local command to calculate the Sylius instance GMV within a specific period

README 文档

README

Sylius Logo.

GmvBundle

Lightweight local command to calculate the Sylius instance GMV within a specific period

Features

  • 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.

Installation

Add the bundle to your Sylius project:

composer require sylius/gmv-bundle

Usage

Command Line

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.

Example

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

Contributing

This page contains all the information about contributing to Sylius.

Follow Sylius' Development

If you want to keep up with the updates and latest features, follow us on the following channels:

Bug tracking

Sylius uses GitHub issues. If you have found bug, please create an issue.

MIT License

License can be found here.

Authors

See the list of contributors.

统计信息

  • 总下载量: 128.93k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 7
  • Forks: 3
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-07-01