PHPackages                             yireo/magento2-theme-override-checker - 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. yireo/magento2-theme-override-checker

ActiveMagento2-module[Utility &amp; Helpers](/categories/utility)

yireo/magento2-theme-override-checker
=====================================

N/A

0.0.5(1y ago)1710.1k↓54.2%2[1 PRs](https://github.com/yireo/Yireo_ThemeOverrideChecker/pulls)OSL-3.0PHP

Since Dec 4Pushed 10mo ago1 watchersCompare

[ Source](https://github.com/yireo/Yireo_ThemeOverrideChecker)[ Packagist](https://packagist.org/packages/yireo/magento2-theme-override-checker)[ RSS](/packages/yireo-magento2-theme-override-checker/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (5)Dependencies (3)Versions (7)Used By (0)

Yireo ThemeOverrideChecker
==========================

[](#yireo-themeoverridechecker)

Magento module to find all files of a given Magento theme (for example `Magento/luma`), compare the found files with the parent theme (and/or modules) and return whether there are differences or not.

**Current status**: Beta, ready for trying out

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

[](#installation)

```
composer require yireo/magento2-theme-override-checker:@dev
bin/magento module:enable Yireo_ThemeOverrideChecker
```

Usage
-----

[](#usage)

List all possible overrides, with a warning for unneeded overrides (with no changes) and a red warning when lines are different:

```
bin/magento yireo:theme-overrides:check Magento/luma
```

List all specific override details for a specific file:

```
bin/magento yireo:theme-overrides:show Magento/luma web/jquery.js
bin/magento yireo:theme-overrides:show Magento/blank web/css/source/_theme.less
```

List a diff between the current version and the parent theme version:

```
bin/magento yireo:theme-overrides:diff Magento/luma web/css/source/_theme.less
```

FAQ
---

[](#faq)

### How does this work?

[](#how-does-this-work)

AmpersandHQ developed an excellent tool [ampersand-magento2-upgrade-patch-helper ](https://github.com/AmpersandHQ/ampersand-magento2-upgrade-patch-helper) to check the status of a current project. Part of this is that it also scans for override files in the theme. However, it does not report what overriding files actually means. For instance, is overriding an XML layout file good or bad? How many lines of overriding a JavaScript file classifies as a bad practice?

Todo
----

[](#todo)

- Support for multiple parent themes
- Make `contextLines` in DifferGenerator configurable
- Improve adviser
    - An XML layout file with dozens of line differences is ok
    - An XML override file is dangerous
    - An PHTML / JS / CSS file with dozens of line differences is dangerous
    - Markdown and text files can be the same
    - SVG files can be totally different

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance44

Moderate activity, may be stable

Popularity35

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity41

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 ~98 days

Total

5

Last Release

661d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1373981?v=4)[Yireo](/maintainers/yireo)[@yireo](https://github.com/yireo)

---

Top Contributors

[![jissereitsma](https://avatars.githubusercontent.com/u/7670482?v=4)](https://github.com/jissereitsma "jissereitsma (22 commits)")

### Embed Badge

![Health badge](/badges/yireo-magento2-theme-override-checker/health.svg)

```
[![Health](https://phpackages.com/badges/yireo-magento2-theme-override-checker/health.svg)](https://phpackages.com/packages/yireo-magento2-theme-override-checker)
```

###  Alternatives

[friendsofphp/php-cs-fixer

A tool to automatically fix PHP code style

13.5k251.2M25.3k](/packages/friendsofphp-php-cs-fixer)[drupal/core

Drupal is an open source content management platform powering millions of websites and applications.

21866.0M1.7k](/packages/drupal-core)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5275.9M121](/packages/symplify-monorepo-builder)[silverstripe/framework

The SilverStripe framework

7313.7M2.8k](/packages/silverstripe-framework)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17417.5M296](/packages/symfony-stimulus-bundle)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136406.3k14](/packages/rector-rector-src)

PHPackages © 2026

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