PHPackages                             99x/craft-commerce-reports - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. 99x/craft-commerce-reports

ActiveCraft-plugin[Utility &amp; Helpers](/categories/utility)

99x/craft-commerce-reports
==========================

Craft Commerce Reports Plugin

1.0.2(1mo ago)00mitPHPPHP &gt;=8.2CI passing

Since Apr 14Pushed 1mo agoCompare

[ Source](https://github.com/99x/craft-commerce-reports)[ Packagist](https://packagist.org/packages/99x/craft-commerce-reports)[ RSS](/packages/99x-craft-commerce-reports/feed)WikiDiscussions main Synced 1w ago

READMEChangelogDependencies (6)Versions (4)Used By (0)

Commerce Reports Plugin
=======================

[](#commerce-reports-plugin)

Advanced reporting plugin for Craft Commerce that provides comprehensive sales analytics and data insights.

Overview
--------

[](#overview)

This plugin extends Craft Commerce with powerful reporting capabilities, offering detailed analytics on sales performance, customer behavior, and commerce metrics through an intuitive dashboard interface.

Features
--------

[](#features)

### 📊 **Available Reports**

[](#-available-reports)

- **Sales by Volume**
- **Sales by Value**
- **Sales by Category**
- **Sales by Payment Method**
- **Sales by Customer**
- **Sales by User Type**
- **Sales by Coupon**
- **Abandoned Carts**

### ⚙️ **Key Features**

[](#️-key-features)

- **Real-time Data Processing** - Automatic background data aggregation
- **Historical Data** - Full historical sales analysis
- **Multi-site Support** - Works with Craft's multi-site setup
- **Configurable Categories** - Link product categories for enhanced reporting
- **Data Management** - Built-in cleanup tools for maintenance

Installation
------------

[](#installation)

1. Install via Composer:

```
composer require 99x/craft-commerce-reports
```

2. Install the plugin in Craft CP:
    - Go to **Settings** → **Plugins**
    - Find "Commerce Reports" and click **Install**

Configuration
-------------

[](#configuration)

### Category Field Setup

[](#category-field-setup)

1. Go to **Commerce Reports** → **Settings**
2. Select the **Product Category Field** from the dropdown
3. This enables the "Sales by Category" report functionality

### Data Management

[](#data-management)

The plugin includes cleanup tools to manage storage:

- **Last Week** - Clear last 7 days of data
- **Last Month** - Clear last 30 days of data
- **Last 3 Months** - Clear last 90 days of data
- **Last 6 Months** - Clear last 180 days of data
- **All Data** - Complete data cleanup

Usage
-----

[](#usage)

### Accessing Reports

[](#accessing-reports)

Navigate to **Commerce Reports** in the Control Panel main menu to access all available reports.

### Data Processing

[](#data-processing)

- Initial data processing happens automatically after installation
- Progress is shown via notification banners
- Recent data syncs happen automatically in the background

### Console Commands

[](#console-commands)

For advanced users and automation:

```
# Process recent data for last 7 days
./craft commerce-reports/aggregate/last-days --days=7

# Clean up old data
./craft commerce-reports/aggregate/cleanup --daysToDelete=30

## Technical Notes

### Performance
- Uses aggregated data tables for fast report generation
- Background processing prevents UI blocking
- Efficient database queries optimized for large datasets

### Data Storage
- Creates dedicated tables for aggregated metrics
- Preserves original Commerce data integrity
- Configurable data retention policies

### Compatibility
- Requires Craft CMS 4.0+
- Requires Craft Commerce 4.0+
- Compatible with multi-site installations

## Support

For technical support and feature requests, please contact the development team.

---

**Version:** 1.0.0
**License:** Proprietary
**Developer:** 99x
```

###  Health Score

38

—

LowBetter than 83% of packages

Maintenance89

Actively maintained with recent releases

Popularity0

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~0 days

Total

3

Last Release

55d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/fa3db845779c9398f1694b019ac6458a4a1426a3e9e6ababaf55a7c8916e7623?d=identicon)[egilfujikawanes](/maintainers/egilfujikawanes)

---

Top Contributors

[![alexandre-99x](https://avatars.githubusercontent.com/u/212902095?v=4)](https://github.com/alexandre-99x "alexandre-99x (3 commits)")

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/99x-craft-commerce-reports/health.svg)

```
[![Health](https://phpackages.com/badges/99x-craft-commerce-reports/health.svg)](https://phpackages.com/packages/99x-craft-commerce-reports)
```

###  Alternatives

[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393808.8k10](/packages/spicyweb-craft-neo)[craftcms/feed-me

Import content from XML, RSS, CSV or JSON feeds into entries, categories, Craft Commerce products, and more.

294943.4k27](/packages/craftcms-feed-me)[verbb/events

A full-featured plugin for event management and ticketing.

2411.8k](/packages/verbb-events)[verbb/formie

The most user-friendly forms plugin for Craft.

100387.6k57](/packages/verbb-formie)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

53675.5k15](/packages/solspace-craft-freeform)[verbb/navigation

Create navigation menus for your site.

92698.4k18](/packages/verbb-navigation)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
