PHPackages                             rapidez/composer-template-diff-plugin - 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. rapidez/composer-template-diff-plugin

ActiveComposer-plugin

rapidez/composer-template-diff-plugin
=====================================

Composer plugin for template override hash synchronization

1.0.0(1mo ago)03.9k↑887.2%1GPL-3.0-or-laterPHP

Since Jul 14Pushed 2w agoCompare

[ Source](https://github.com/rapidez/composer-template-diff-plugin)[ Packagist](https://packagist.org/packages/rapidez/composer-template-diff-plugin)[ RSS](/packages/rapidez-composer-template-diff-plugin/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (2)Used By (1)

Rapidez Composer template diff plugin
=====================================

[](#rapidez-composer-template-diff-plugin)

This composer plugin will create hashes of the original template in published templates after a `composer update`. This way you have a clear indication that a template you have overwritten has been changed.

It will add a `{{-- vendor-hash:VENDOR_FILE_MD5_HASH --}}` comment to the top of your blade files.

It will use the `views` publishables for this so make sure your views are publishable under the `views` tag.

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

[](#installation)

```
composer require (--dev) rapidez/composer-template-diff-plugin
```

Usage
-----

[](#usage)

You can also run manually update the hashes with:

```
composer update-vendor-hashes`
```

This will also automatically run after updating any packages.

### Configure automatic plugin execution

[](#configure-automatic-plugin-execution)

Automatic execution (after `composer update`) can be disabled explicitly with:

```
RAPIDEZ_TEMPLATE_DIFF_DISABLED=1
```

When `RAPIDEZ_TEMPLATE_DIFF_DISABLED` is not set, automatic execution is enabled only when `APP_ENV` is `local`

Manual execution with `composer update-vendor-hashes` always runs and does not use these automatic plugin toggle rules.

License
-------

[](#license)

GNU General Public License v3. Please see [License File](LICENSE) for more information.

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance94

Actively maintained with recent releases

Popularity24

Limited adoption so far

Community12

Small or concentrated contributor base

Maturity33

Early-stage or recently created project

 Bus Factor1

Top contributor holds 50% 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

Unknown

Total

1

Last Release

47d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/72222911?v=4)[Rapidez](/maintainers/rapidez)[@rapidez](https://github.com/rapidez)

---

Top Contributors

[![indykoning](https://avatars.githubusercontent.com/u/15870933?v=4)](https://github.com/indykoning "indykoning (2 commits)")[![royduin](https://avatars.githubusercontent.com/u/1703233?v=4)](https://github.com/royduin "royduin (2 commits)")

###  Code Quality

Static AnalysisPHPStan

Type Coverage Yes

### Embed Badge

![Health badge](/badges/rapidez-composer-template-diff-plugin/health.svg)

```
[![Health](https://phpackages.com/badges/rapidez-composer-template-diff-plugin/health.svg)](https://phpackages.com/packages/rapidez-composer-template-diff-plugin)
```

###  Alternatives

[phpro/grumphp

A composer plugin that enables source code quality checks.

4.3k17.4M1.1k](/packages/phpro-grumphp)[drupal/core-composer-scaffold

A flexible Composer project scaffold builder.

5346.5M614](/packages/drupal-core-composer-scaffold)[drupal/core-project-message

Adds a message after Composer installation.

2126.0M217](/packages/drupal-core-project-message)[oro/platform

Business Application Platform (BAP)

646149.4k124](/packages/oro-platform)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

566.6M179](/packages/automattic-jetpack-autoloader)[drupal/core-vendor-hardening

Hardens the vendor directory for when it's in the docroot.

175.1M56](/packages/drupal-core-vendor-hardening)

PHPackages © 2026

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