PHPackages                             sykescottages/licence-check - 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. sykescottages/licence-check

ActiveLibrary

sykescottages/licence-check
===========================

Checks all of the dependencies of projects to ensure the license is valid for use

0.1.6(7y ago)090.4k↓31.8%MITPHP

Since Apr 10Pushed 5y ago2 watchersCompare

[ Source](https://github.com/SykesCottages/licence-check)[ Packagist](https://packagist.org/packages/sykescottages/licence-check)[ RSS](/packages/sykescottages-licence-check/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (1)Versions (8)Used By (0)

Licence Check
=============

[](#licence-check)

This is a package which allows checking that all of the dependencies of a project conform to an agreed set of licences.

Guide
-----

[](#guide)

To run a basic check with no options install the checker

`composer require sykescottages/licence-check`

to run

`./vendor/bin/licence-check`

This will by default check the current working directories composer for valid licences.

To customise the licences accepted pass `-l` / `--licence` as a command line option eg

`./vendor/bin/licence-check --licence YourLicence`

or to pass a file containing valid licences

`./vendor/bin/licence-check --licenceFile file.txt`

You can ignore certain packages with the `-i` / `--ignoreFile` flag to pass a file or `--ignore` for a single package

NPM
---

[](#npm)

This can also check NPM, you will need to install the licence check (globally to make it easier)

`sudo npm install -g license-report`

then call the same binary as above with a seperate flag

`./vendor/bin/licence-check --type Npm`

The flags documented above work in the same way

Running from any directory
--------------------------

[](#running-from-any-directory)

To run from any directory you need to provide input on `STDIN`. This is expected to be JSON for composer and csv for NPM

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

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

6

Last Release

2595d ago

### Community

Maintainers

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

---

Top Contributors

[![exussum12](https://avatars.githubusercontent.com/u/1102850?v=4)](https://github.com/exussum12 "exussum12 (11 commits)")[![beattie282](https://avatars.githubusercontent.com/u/3083014?v=4)](https://github.com/beattie282 "beattie282 (2 commits)")

---

Tags

hacktoberfest

### Embed Badge

![Health badge](/badges/sykescottages-licence-check/health.svg)

```
[![Health](https://phpackages.com/badges/sykescottages-licence-check/health.svg)](https://phpackages.com/packages/sykescottages-licence-check)
```

###  Alternatives

[nikic/php-fuzzer

43665.6k20](/packages/nikic-php-fuzzer)[niels-de-blaauw/php-doc-check

Command line tool that identifies code that needs documentation.

43236.3k4](/packages/niels-de-blaauw-php-doc-check)[soatok/minisign

PHP implementation of minisign, based on libsodium

1822.0k](/packages/soatok-minisign)

PHPackages © 2026

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