PHPackages                             contao-community-alliance/build-system-tool-author-validation - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. contao-community-alliance/build-system-tool-author-validation

Abandoned → [phpcq/author-validation](/?search=phpcq%2Fauthor-validation)ArchivedLibrary[Validation &amp; Sanitization](/categories/validation)

contao-community-alliance/build-system-tool-author-validation
=============================================================

Check if all authors of a particular file are mentioned in the copyright header.

1.2.1(11y ago)02.2k1MITPHPPHP &gt;=5.3.4

Since Dec 4Pushed 11y ago6 watchersCompare

[ Source](https://github.com/contao-community-alliance-archive/build-system-tool-author-validation)[ Packagist](https://packagist.org/packages/contao-community-alliance/build-system-tool-author-validation)[ RSS](/packages/contao-community-alliance-build-system-tool-author-validation/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (7)Used By (1)

[![Version](https://camo.githubusercontent.com/06bf883360cc21819ee4a7b5c65e1bf287be53923800ba089c304eb4d8f13870/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f6275696c642d73797374656d2d746f6f6c2d617574686f722d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/contao-community-alliance/build-system-tool-author-validation)[![Stable Build Status](https://camo.githubusercontent.com/06bed3ed267752cfc447083f730af16c4bc1b0270f91486afb401b63ac9fa9f8/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f6275696c642d73797374656d2d746f6f6c2d617574686f722d76616c69646174696f6e2f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/contao-community-alliance/build-system-tool-author-validation)[![Upstream Build Status](https://camo.githubusercontent.com/ec4cad2d7ac79d7f80819231ba6583a37ac209dfd34f1135c5ec2cced06fd5a0/687474703a2f2f696d672e736869656c64732e696f2f7472617669732f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f6275696c642d73797374656d2d746f6f6c2d617574686f722d76616c69646174696f6e2f646576656c6f702e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/contao-community-alliance/build-system-tool-author-validation)[![License](https://camo.githubusercontent.com/f6effb5d8f3dcc3f4b4f1c395cde5ec13698f89914c8c1e8a57b11fb12cfc084/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f6275696c642d73797374656d2d746f6f6c2d617574686f722d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://github.com/contao-community-alliance/build-system-tool-author-validation/blob/master/LICENSE)[![Downloads](https://camo.githubusercontent.com/5dd38caf63fad2b0b665d8109bb6d9e41b07dda0807f8d9dcc3b2c56a135ac80/687474703a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f636f6e74616f2d636f6d6d756e6974792d616c6c69616e63652f6275696c642d73797374656d2d746f6f6c2d617574686f722d76616c69646174696f6e2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/contao-community-alliance/build-system-tool-author-validation)

Validate the author information within PHP files, composer.json, bower.json or packages.json.
=============================================================================================

[](#validate-the-author-information-within-php-files-composerjson-bowerjson-or-packagesjson)

This is useful to ensure that all authors (from git history) mentioned in all PHP files, the `composer.json`, `bower.json` and `packages.json`.

Usage
-----

[](#usage)

Add to your `composer.json` in the `require-dev` section:

```
"contao-community-alliance/build-system-tool-author-validation": "~1.0"

```

Call the binary:

```
./vendor/bin/check-author.php

```

Optionally pass a path to check:

```
./vendor/bin/check-author.php /path/to/some/repository/also/with/subdir

```

Configuration
-------------

[](#configuration)

Optionally you can pass the path to a config file (defaults to .check-author.yml) which shall be used.

```
# Example .check-author.yml

# Map multiple authors to a single one (aliasing of contributors).
mapping:
  # original: alias
  "John Doe ": "John Doe "
  # or original: [multiple aliases]
  "John Doe ": ["John Doe ", "Acme Inc "]
  # or
  "John Doe ":
    - "John Doe "
    - "Acme Inc "

# Ignore commits from these authors (equivalent to cmd line parameter --ignore=...)
ignore:
  - Build Bot

# If present, scan only these and not the whole base dir (equivalent to cmd line arguments).
# Values must either be absolute paths or relative to the current directory.
include:
  - src

# Paths to exclude from scanning (equivalent to cmd line parameter --exclude=...)
exclude:
  - Foo.php
  - /tests/*
  - */languages

# Enforce copy-left author for certain files.
copy-left:
  "John Doe ": "/library"
  # or
  "John Doe ": ["/library", "File.php"]
  # or
  "John Doe ":
    - "File.php"

```

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community15

Small or concentrated contributor base

Maturity62

Established project with proven stability

 Bus Factor1

Top contributor holds 71% 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 ~3 days

Total

5

Last Release

4166d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/8672569?v=4)[California College of Arts](/maintainers/cca)[@cca](https://github.com/cca)

---

Top Contributors

[![discordier](https://avatars.githubusercontent.com/u/940331?v=4)](https://github.com/discordier "discordier (22 commits)")[![tristanlins](https://avatars.githubusercontent.com/u/343404?v=4)](https://github.com/tristanlins "tristanlins (7 commits)")[![dmolineus](https://avatars.githubusercontent.com/u/1186266?v=4)](https://github.com/dmolineus "dmolineus (2 commits)")

### Embed Badge

![Health badge](/badges/contao-community-alliance-build-system-tool-author-validation/health.svg)

```
[![Health](https://phpackages.com/badges/contao-community-alliance-build-system-tool-author-validation/health.svg)](https://phpackages.com/packages/contao-community-alliance-build-system-tool-author-validation)
```

###  Alternatives

[contao/core-bundle

Contao Open Source CMS

1231.6M2.4k](/packages/contao-core-bundle)[magento/magento2-functional-testing-framework

Magento2 Functional Testing Framework

15511.5M30](/packages/magento-magento2-functional-testing-framework)[shopware/core

Shopware platform is the core for all Shopware ecommerce products.

595.2M386](/packages/shopware-core)[eniams/safe-migrations

Warn you when a migration is unsafe

56237.5k](/packages/eniams-safe-migrations)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

245.2k](/packages/aedart-athenaeum)

PHPackages © 2026

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