PHPackages                             lendable/composer-license-checker - 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. lendable/composer-license-checker

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

lendable/composer-license-checker
=================================

Composer license checker

1.4.0(4mo ago)15233.9k—3.3%3[10 PRs](https://github.com/Lendable/composer-license-checker/pulls)13MITPHPPHP ~8.4.0 || ~8.5.0CI passing

Since Feb 10Pushed 1mo ago40 watchersCompare

[ Source](https://github.com/Lendable/composer-license-checker)[ Packagist](https://packagist.org/packages/lendable/composer-license-checker)[ RSS](/packages/lendable-composer-license-checker/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (13)Versions (27)Used By (13)

Composer License Checker
========================

[](#composer-license-checker)

[![Latest Stable Version](https://camo.githubusercontent.com/cd8fe9512a6e1c1e3ea414c71ea80453aaadf9ff06df5f9b9d0258368f1c3f8a/68747470733a2f2f706f7365722e707567782e6f72672f6c656e6461626c652f636f6d706f7365722d6c6963656e73652d636865636b65722f762f737461626c65)](https://packagist.org/packages/lendable/composer-license-checker)[![License](https://camo.githubusercontent.com/14675d26235db4f147e5c924a0dfdc1e7d018a6e8dc89a4176f87fad31ff5a63/68747470733a2f2f706f7365722e707567782e6f72672f6c656e6461626c652f636f6d706f7365722d6c6963656e73652d636865636b65722f6c6963656e7365)](https://packagist.org/packages/lendable/composer-license-checker)[![Continuous Integration](https://github.com/lendable/composer-license-checker/actions/workflows/ci.yml/badge.svg)](https://github.com/lendable/composer-license-checker/actions/workflows/ci.yml)

This library provides tooling to check licensing of dependencies against a set of rules to ensure compliance with open source licenses and minimize legal risk. It helps you to keep track of licenses of dependencies in use and make informed decisions on their usage.

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

[](#installation)

```
composer require --dev lendable/composer-license-checker
```

Usage
-----

[](#usage)

Create a configuration file in your project root, `.allowed-licenses.php` (or you can use the option `-a / --allow-file` to specify the location of the configuration).

```
