yireo / magento2-admin-react-components

yireo/magento2-admin-react-components

N/A

magento2-module Compatibility: 2.4.7-2.4.9 Code Quality: Fail Tests: Fail Security: Pass OSL-3.0

Yireo_AdminReactComponents

Magento version
PHP version
License
Latest Version

This module is deprecated in favor of Loki Admin Components

Installation

Install this package via composer:

composer require yireo/magento2-admin-react-components

Next, enable this module:

bin/magento module:enable Yireo_AdminReactComponents

Security notes

  • The AJAX endpoints use the core ACL resources Magento_Customer::manage, Magento_Sales::actions_view and Magento_Catalog::products.
  • Adobe Commerce admin role scopes (AdminGws, restricting a role to specific websites or stores) are not enforced: an admin with the ACL resource can search and look up entities of all websites.
  • Modules using these components must cast the selected ID to an integer when saving it.

Current status

Static Tests
Unit Tests
Integration Tests
Playwright
DI Compilation

Changelog

All notable changes to this project will be documented in this file.

The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.

[Unreleased]

[1.0.7] - 24 November 2026

Security

  • Limit the CustomerLabel AJAX response to id and label
  • Enforce a minimum search length and debounce search requests in the React components
  • Validate numeric ID input in the React components and check component names in renderReactComponent
  • Log unexpected errors in AJAX controllers and return empty JSON instead of an error page

Fixed

  • Render data grid row class names correctly

Changed

  • Exclude development files from the dist archive
  • Remove unneeded route ordering
  • Document ACL resources and missing AdminGws support

[1.0.6] - 23 November 2026

Security

  • Require admin authentication and ACL on the CustomerLabel AJAX controller, which disclosed customer name, email, group and website to unauthenticated visitors (CWE-306)
  • Use core ACL resources per entity (Magento_Customer::manage, Magento_Sales::actions_view, Magento_Catalog::products) for all AJAX controllers
  • Allowlist sort fields, limit search input and escape LIKE wildcards in search controllers
  • Output AJAX URLs as JSON via the secure HTML renderer

Fixed

  • Fix sorting by customer group and website
  • Handle missing customer groups and websites in CustomerData
  • Encode query parameters in AJAX requests
  • Declare missing Magento module dependencies in composer.json and module.xml

Removed

  • Remove PHP 8.1 support, add PHP 8.5 support

[1.0.5] - 19 April 2023

Fixed

  • Rename composer package

[1.0.4] - 25 March 2023

Fixed

  • Apply dataprovider to other searches as well
  • Make all props configurable
  • Make sure original KO viewModel is also updated via React

[1.0.3] - 25 March 2023

Fixed

  • Re-add data provider
  • Add some debugging

[1.0.2] - 25 March 2023

Fixed

  • Reuse same model-data in both customer calls
  • Move from controller extends to implement
  • Add composer dependency with framework properly

[1.0.1] - 25 March 2023

Fixed

  • Allow for usage in other modules via dataProvider prop

[1.0.0] - 24 March 2023

Added

  • Initial copying from EmailTester extension
Versions
Version Stability QA Status Compatibility Released
1.0.7 stable Fail Magento 2.4.7-2.4.9 Details 2026-11-24 16:27:30
1.0.6 stable Fail Magento 2.4.7-2.4.9 Details 2026-11-23 18:50:48
1.0.5 stable Fail Not yet tested Details 2023-04-19 06:50:15
1.0.4 stable Not tested Not yet tested Details 2023-03-25 18:21:28
1.0.3 stable Not tested Not yet tested Details 2023-03-25 14:32:11
1.0.2 stable Not tested Not yet tested Details 2023-03-25 13:46:04
1.0.1 stable Not tested Not yet tested Details 2023-03-25 13:10:10
1.0.0 stable Not tested Not yet tested Details 2023-03-24 13:49:40

Requires 8

Package Constraint
magento/framework ^102.0|^103.0
magento/module-backend ^102.0
magento/module-catalog ^104.0
magento/module-customer ^103.0
magento/module-sales ^103.0
magento/module-store ^101.1
php >=8.2 <8.6
psr/log ^1.0 || ^2.0 || ^3.0

Requires-dev 2

Package Constraint
phpunit/phpunit ^10.5
yireo/magento2-integration-test-helper ~0.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.

Compatibility matrix (Magento × PHP)
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Pass

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.

Static analysis results
Tool Status Findings Summary
PHPCS Pass 0
PHPMD Pass 0
Cpd Pass 0
Composer validate Info 1 valid; 1 advisory note (composer validate --strict)

PHPStan

Type-checks the module's PHP against a real Magento install at the configured gate level. Re-runs per Magento and PHP version because resolvable symbols differ between releases.

PHPStan results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Error Error
2.4.8 2 2
2.4.9 2 2

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

Unit tests results by Magento and PHP version
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

Integration tests

Integration tests results by Magento and PHP version
Magento PHP 8.2 PHP 8.3 PHP 8.4 PHP 8.5
2.4.7 Pass Pass
2.4.8 Pass Pass
2.4.9 Pass Error

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.

Security results
Tool Status Findings Summary
Composer audit Pass 0
Malware scan Pass 0
License
OSL-3.0

More from yireo

View vendor
Make it pay

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.