PHPackages                             thefuntasty/neon-diff - 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. thefuntasty/neon-diff

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

thefuntasty/neon-diff
=====================

PHP library to compare Neon file against a template

1.2.0(7y ago)0855MITPHPPHP ^7.1

Since Mar 5Pushed 7y agoCompare

[ Source](https://github.com/thefuntasty/neon-diff)[ Packagist](https://packagist.org/packages/thefuntasty/neon-diff)[ Docs](https://github.com/thefuntasty/neon-diff)[ RSS](/packages/thefuntasty-neon-diff/feed)WikiDiscussions master Synced 2mo ago

READMEChangelog (4)Dependencies (2)Versions (5)Used By (0)

neon-diff
=========

[](#neon-diff)

PHP library to compare Neon file against a template

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

[](#installation)

```
composer require thefuntasty/neon-diff

```

Usage
-----

[](#usage)

```
vendor/bin/neon-diff [template] [neon]

```

where `[neon]` is any NEON file and `[template]` is a template Neon file includes schema and regexps to compare with.

### Template

[](#template)

```
key1: value1 # Exact match
key2: '~^[a-zA-Z0-9_\-]+$~' # Regular expression match, must start and end with `~` character
key3: '~^(value3|value4)$~' # Another example of regular expression match
key4: yes # Boolean support

```

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 85.7% 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 ~136 days

Total

4

Last Release

2579d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/e23d04726df4b2b1c0e56381bac0f50314e7a5ff609f09a3b8c4915002dfe413?d=identicon)[radimvaculik](/maintainers/radimvaculik)

---

Top Contributors

[![radimvaculik](https://avatars.githubusercontent.com/u/461164?v=4)](https://github.com/radimvaculik "radimvaculik (6 commits)")[![sopta](https://avatars.githubusercontent.com/u/3351693?v=4)](https://github.com/sopta "sopta (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/thefuntasty-neon-diff/health.svg)

```
[![Health](https://phpackages.com/badges/thefuntasty-neon-diff/health.svg)](https://phpackages.com/packages/thefuntasty-neon-diff)
```

###  Alternatives

[nette/code-checker

✅ Nette CodeChecker: A simple tool to check source code against a set of Nette coding standards.

881.7M6](/packages/nette-code-checker)[contributte/neonizer

Collection of useful scripts for manipulaton with NEON files. Support composer pre-install / post-install events. Set/get parameters, validate files.

14849.4k](/packages/contributte-neonizer)[spell-checker/spell-checker

Multi-language code and text spell checker in PHP

16176.8k1](/packages/spell-checker-spell-checker)[machy8/webloader

Simple, easy to use, php bundler for javascript and css

1934.2k3](/packages/machy8-webloader)

PHPackages © 2026

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