kalicr/static-reports (1.0.0)

Published 2026-06-25 21:02:53 +00:00 by kalicr-packages

Installation

{
	"repositories": [{
			"type": "composer",
			"url": ""
		}
	]
}
composer require kalicr/static-reports:1.0.0

About this package

Magento 2 cron module for scheduled aggregation of 8 native reports with per-report admin toggles.

Kalicr_StaticReports

Scheduled cron aggregation of 8 native Magento reports with per-report admin toggles.

Features

  • 8 report types aggregated via cron: Sales, Tax, Shipping, Invoiced, Refunded, Coupons, Bestsellers, Viewed.
  • Per-report toggles — enable or disable each report individually from admin.
  • Configurable cron expression (default: 30 06 * * *).
  • Fills a Magento gap — the native Viewed Products report has no assigned cron.
  • Silent try-catch with error logging.

Installation

Via Composer

composer require kalicr/static-reports:^1.0
bin/magento module:enable Kalicr_StaticReports
bin/magento setup:upgrade

Manual (local debugging only)

Copy the module to app/code/Kalicr/StaticReports, then enable and upgrade.

Configuration

Located at Stores → Configuration → Kal-í CR → Actualización de reportes:

Field Description
Enable Enable/disable the cron job
Cron Expression Schedule expression (default 30 06 * * *)
Bestsellers Aggregate Bestsellers report
Viewed Aggregate Viewed Products report
Sales Aggregate Sales report
Tax Aggregate Tax report
Shipping Aggregate Shipping report
Invoiced Aggregate Invoiced report
Refunded Aggregate Refunded report
Coupons Aggregate Coupons report

Config path: kalicr_staticreports/configuration/* and kalicr_staticreports/reports/*

Dependencies

  • Magento: 2.4.8-p4 (Open Source / Adobe Commerce)
  • PHP: ^8.2 || ^8.3
  • Modules: Kalicr_Core, Magento_Reports, Magento_Sales, Magento_Tax, Magento_Catalog
  • Packages: kalicr/core

Technical Notes

  • Cron/ReportStatistics.php — conditionally calls aggregate() on each enabled report resource model.
  • Helper/Data.php — provides isEnabled(), isReportEnabled(), and per-report toggle methods.
  • etc/crontab.xml — cron job reading schedule from config path.

Changelog

See CHANGELOG.md.

License

Proprietary KaliCR commercial license. See LICENSE.md.

Support

contacto@kalicr.com

Dependencies

Dependencies

ID Version
kalicr/core ^0.2.0
magento/framework ^103.0
magento/module-catalog ^104.0
magento/module-reports ^100.0
magento/module-sales ^103.0
magento/module-tax ^100.0
php ^8.2 || ^8.3
Details
Composer
2026-06-25 21:02:53 +00:00
1
Kal-i CR Development Team
proprietary
7.4 KiB
Assets (1)
Versions (1) View all
1.0.0 2026-06-25