PHPackages                             civicrm/gitignore - 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. [Parsing &amp; Serialization](/categories/parsing)
4. /
5. civicrm/gitignore

ActiveLibrary[Parsing &amp; Serialization](/categories/parsing)

civicrm/gitignore
=================

Parser for .gitignore (and sparse-checkout, and anything else using the same format) files

1.2.0(2y ago)0139.5k↑14.8%2MITPHPPHP &gt;=5.6

Since Apr 9Pushed 2y agoCompare

[ Source](https://github.com/civicrm/PHPGitIgnore)[ Packagist](https://packagist.org/packages/civicrm/gitignore)[ RSS](/packages/civicrm-gitignore/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (2)

PHP Git Ignore
==============

[](#php-git-ignore)

This is a maintenance fork of  to provide compatibility with newer versions of PHP.

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

[](#installation)

```
composer require civicrm/gitignore
```

Testing
-------

[](#testing)

The `Makefile` defines targets for building and testing. If you have GNU Make and PHP, then just run:

```
make
```

If you don't have GNU Make and PHP, then you can use `nix-shell` ([Nix package manager](https://nixos.org/download/)), eg

```
nix-shell -A php83
make
```

Or you can string together several calls, with alternating versions of PHP:

```
## Run the tests with multiple versions of PHP
nix-shell -A php83 --run 'make clean run-unit-tests'
nix-shell -A php82 --run 'make clean run-unit-tests'
nix-shell -A php81 --run 'make clean run-unit-tests'
nix-shell -A php74 --run 'make clean run-unit-tests'
nix-shell -A php70 --run 'make run-unit-tests'
nix-shell -A php56 --run 'make run-unit-tests'
## (Each phpXX should be listed in shell.nix)
```

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity32

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity36

Early-stage or recently created project

 Bus Factor1

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

770d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1336047?v=4)[Tim Otten](/maintainers/totten)[@totten](https://github.com/totten)

---

Top Contributors

[![totten](https://avatars.githubusercontent.com/u/1336047?v=4)](https://github.com/totten "totten (8 commits)")[![TOGoS](https://avatars.githubusercontent.com/u/57142?v=4)](https://github.com/TOGoS "TOGoS (5 commits)")[![seamuslee001](https://avatars.githubusercontent.com/u/6799125?v=4)](https://github.com/seamuslee001 "seamuslee001 (1 commits)")

### Embed Badge

![Health badge](/badges/civicrm-gitignore/health.svg)

```
[![Health](https://phpackages.com/badges/civicrm-gitignore/health.svg)](https://phpackages.com/packages/civicrm-gitignore)
```

###  Alternatives

[masterminds/html5

An HTML5 parser and serializer.

1.8k242.8M229](/packages/masterminds-html5)[sabberworm/php-css-parser

Parser for CSS Files written in PHP

1.8k191.2M65](/packages/sabberworm-php-css-parser)[jms/metadata

Class/method/property metadata management in PHP

1.8k152.8M88](/packages/jms-metadata)[jms/serializer-bundle

Allows you to easily serialize, and deserialize data of any complexity

1.8k89.3M627](/packages/jms-serializer-bundle)[hassankhan/config

Lightweight configuration file loader that supports PHP, INI, XML, JSON, and YAML files

97513.5M170](/packages/hassankhan-config)[meyfa/php-svg

Read, edit, write, and render SVG files with PHP

54613.9M42](/packages/meyfa-php-svg)

PHPackages © 2026

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