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

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

thefuntasty/ini-diff
====================

PHP library to compare INI file against a template

1.1(8y ago)0540MITPHPPHP ^7.1

Since Feb 26Pushed 8y agoCompare

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

READMEChangelog (2)Dependencies (1)Versions (3)Used By (0)

ini-diff
========

[](#ini-diff)

PHP library to compare INI file against a template

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

[](#installation)

```
composer require thefuntasty/ini-diff

```

Usage
-----

[](#usage)

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

```

where `[ini]` is any INI file, which could be parsed via PHP `parse_ini_file` and `[template]` is a template ini 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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity59

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

Total

2

Last Release

2995d 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 (3 commits)")

---

Tags

diffinilibraryphp

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

PHPackages © 2026

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