ppl / module-action-widget
Admin action board for Magento 2 that turns shop and PPL report signals into severity-scored task cards.
PPL Action Widget for Magento 2
PPL Action Widget turns shop and report signals into prioritized admin action cards with severity, evidence, recommendations, and follow-up actions.
What It Adds
- Action board cards built from PPL report and store signals
- Cron-backed snapshots instead of heavy live dashboard queries
- Detector thresholds, dashboard display settings, dismissals, exports, and board health checks
Requirements And Dependencies
- PHP: >=8.1
- Magento packages: magento/framework, magento/module-backend, magento/module-catalog, magento/module-catalog-inventory, magento/module-config, magento/module-cron, magento/module-customer, magento/module-eav, magento/module-quote, magento/module-reports, magento/module-sales, magento/module-sales-rule, magento/module-search, magento/module-store, magento/module-ui
- PPL packages: ppl/module-hub, ppl/module-report-core
Installation
Composer installation:
composer require ppl/module-action-widget
bin/magento module:enable Ppl_Hub Ppl_ReportCore Ppl_ActionWidget
bin/magento setup:upgrade
bin/magento setup:di:compile
bin/magento cache:clean
Manual app/code installation: copy the module to app/code/Ppl/ActionWidget, install the dependencies listed above, then run the same Magento commands without the Composer step.
First Use
- Configure enabled detectors and thresholds in the Action Widgets sections.
- Run Magento cron or click Build now in the board to create the first snapshot.
- Use bin/magento ppl:actionwidget:board:health when cards do not appear.
Admin entry: PPL Hub > PPL Action Widget > Action Widgets.
Integrations And Boundaries
- Ppl_ReportCore and installed PPL report modules supply many of the report signals.
- Ppl_DashboardWidgetsPro adds additional provider-driven widgets and build status surfaces.
Localization
The package includes translation CSV files for 12 locales: de_DE, en_US, es_ES, fr_FR, it_IT, ja_JP, nl_NL, pl_PL, pt_BR, ru_RU, tr_TR, zh_CN.
Documentation
- Screenshot inventory:
docs/images/ppl-action-widget/in the repository documentation tree
Support
Support contact: [email protected]. Include the module version, Magento version, enabled PPL companion modules, and the relevant admin or storefront screenshot when reporting an issue.
Changelog
1.2.0
- Adapted to the updated PPL Hub: admin navigation, ACL, and menu integration aligned to the PPL Hub 1.2 line
- Minor fixes and stability improvements
1.0.0
- Initial release
- Added admin action-card dashboard
- Added snapshot storage and cron rebuild
- Added detectors for search, catalog, cart, stock, coupons, payments and customers
- Added customer acquisition card for new customers and guest checkout customers
- Added threshold configuration, CSV export and dismiss action
- Added per-admin card dismissal
Requires 24
| Package | Constraint |
|---|---|
| ext-mbstring | * |
| laminas/laminas-stdlib | ^3.11 |
| laminas/laminas-uri | ^2.9 |
| magento/framework | >=103.0.0 <104.0.0 |
| magento/module-backend | >=102.0.0 <103.0.0 |
| magento/module-catalog | >=104.0.0 <105.0.0 |
| magento/module-catalog-inventory | >=100.4.0 <101.0.0 |
| magento/module-config | >=101.2.0 <102.0.0 |
| magento/module-cron | >=100.4.0 <101.0.0 |
| magento/module-customer | >=103.0.0 <104.0.0 |
| magento/module-eav | >=102.1.0 <103.0.0 |
| magento/module-quote | >=101.2.0 <102.0.0 |
| magento/module-reports | >=100.4.0 <101.0.0 |
| magento/module-sales | >=103.0.0 <104.0.0 |
| magento/module-sales-rule | >=101.2.0 <102.0.0 |
| magento/module-search | >=101.1.0 <102.0.0 |
| magento/module-store | >=101.1.0 <102.0.0 |
| magento/module-ui | >=101.2.0 <102.0.0 |
| magento/module-user | >=101.2.0 <102.0.0 |
| php | >=8.1 |
| ppl/module-hub | ^1.2 |
| ppl/module-report-core | ^1.2 |
| psr/log | ^1.0 || ^2.0 || ^3.0 |
| symfony/console | ^6.4 || ^7.0 |
Compatibility
Each Magento release line is installed on its supported PHP versions, then the module is built (DI compilation + static-content deploy) and its unit and integration suites are run. The matrix shows the lines and PHP versions the module is confirmed to install and run on. Code-quality results further down (phpstan, phpcs, …) are reported separately and never affect compatibility.
Code Quality
Advisory checks against the module's source. Static analysis runs once across the whole module; PHPStan re-runs per Magento + PHP version because resolvable symbols differ between releases. These NEVER affect the Compatibility badge. A phpcs finding can't make a module incompatible.
Static analysis
Coding standards (phpcs), mess detection (phpmd), copy-pasted code (cpd), PHP cross-version compatibility, composer.json validity. Each runs once for the whole module.
| Tool | Status | Findings | Summary |
|---|---|---|---|
| PHPCS | Pass | 0 | |
| PHPMD | Warning | 2 | 2 rule violations (UnusedPrivateMethod:1, UnusedFormalParameter:1) |
| Cpd | Warning | 9 | 9 duplicated chunks spanning 254 total lines (min-lines=5, min-tokens=70) |
| Composer validate | Info | 1 | valid; 1 advisory note (composer validate --strict) |
Tests
Unit and integration suites, run for each applicable Magento and PHP version. A test failure speaks to the module's behaviour, not its compatibility with a Magento line, so it is reported here separately and never reddens the compatibility matrix.
Unit tests
Integration tests
| Magento | PHP 8.2 | PHP 8.3 | PHP 8.4 | PHP 8.5 |
|---|---|---|---|---|
| 2.4.7 | N/A | N/A | ||
| 2.4.8 | N/A | N/A | ||
| 2.4.9 | N/A | N/A |
Security
Security checks run directly against the module: an audit of its declared dependencies for known vulnerabilities (composer audit) and a scan of its source for malware and web-shell signatures. Each runs once. A malware detection fails the version outright.
More from Pawel Pliousnin Digital Solutions
View vendorFoundation and anchor infrastructure for modular PPL admin reports; individual PPL report modules provide the actual reports.
Standalone PPL Tracking & Privacy HV storefront package for Magento 2, compatible with Hyvä-based storefronts, with consent-aware behavioural tracking and data-subject tooling.
Privacy-first behavioural tracking, consent management and EU/DE data-subject-rights tooling. Requires Ppl_Hub and remains independent of search and filter modules.
Standalone PPL Search Intelligence HV storefront package for Magento 2, compatible with Hyvä-based storefronts, with canonical search results, query understanding, explainable ranking, overlay search UI and optional Discovery Filters HV integration.
Turn an existing module into recurring revenue.
If you already maintain a Magento 2 module on GitHub or GitLab, listing it on Packagento takes about five minutes. We mirror your tags, handle distribution signing, and route paid licenses through Stripe Connect, so you can keep shipping the way you already do.