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)1711.1k↓39.2%2[1 PRs](https://github.com/yireo/Yireo_ThemeOverrideChecker/pulls)OSL-3.0PHP

Since Aug 16Pushed 1y 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 2w 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

34

—

LowBetter than 74% of packages

Maintenance41

Moderate activity, may be stable

Popularity34

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

706d 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.5k257.0M28.1k](/packages/friendsofphp-php-cs-fixer)[infection/infection

Infection is a Mutation Testing framework for PHP. The mutation adequacy score can be used to measure the effectiveness of a test set in terms of its ability to detect faults.

2.2k30.0M2.9k](/packages/infection-infection)[drupal/core

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

19467.3M1.9k](/packages/drupal-core)[symplify/monorepo-builder

Not only Composer tools to build a Monorepo.

5266.1M138](/packages/symplify-monorepo-builder)[rector/rector-src

Instant Upgrade and Automated Refactoring of any PHP code

136411.0k14](/packages/rector-rector-src)[symfony/stimulus-bundle

Integration with your Symfony app &amp; Stimulus!

17618.8M357](/packages/symfony-stimulus-bundle)

PHPackages © 2026

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