PHPackages                             arokettu/composer-license-manager - 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. arokettu/composer-license-manager

ActiveComposer-plugin[Utility &amp; Helpers](/categories/utility)

arokettu/composer-license-manager
=================================

License management plugin for Composer

1.2.0(2y ago)61221.7k↓59.3%[1 issues](https://github.com/arokettu/composer-license-manager/issues)MITPHPPHP ^8.1

Since Jun 5Pushed 2mo ago2 watchersCompare

[ Source](https://github.com/arokettu/composer-license-manager)[ Packagist](https://packagist.org/packages/arokettu/composer-license-manager)[ Docs](https://sandfox.dev/php/composer-license-manager.html)[ RSS](/packages/arokettu-composer-license-manager/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (6)Versions (5)Used By (0)

Composer License Manager
========================

[](#composer-license-manager)

[![Packagist](https://camo.githubusercontent.com/dd72cbb42644b1dd6beb555ac661fe7f2e80be71eaabb947bc1fa1379359cdaf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f61726f6b657474752f636f6d706f7365722d6c6963656e73652d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/arokettu/composer-license-manager)[![Packagist](https://camo.githubusercontent.com/1fad349d54cf405ff95823d2e49a6d5fcb7e2b70c9268b2fb5e2620d63391e64/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f61726f6b657474752f636f6d706f7365722d6c6963656e73652d6d616e616765722e7376673f7374796c653d666c61742d737175617265)](https://opensource.org/licenses/MIT)[![Gitlab pipeline status](https://camo.githubusercontent.com/97ed56807f611a1ae8a230855289391931e64216f3293330cd31b13e7412ee93/68747470733a2f2f696d672e736869656c64732e696f2f6769746c61622f706970656c696e652f73616e64666f782f636f6d706f7365722d6c6963656e73652d6d616e616765722f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://gitlab.com/sandfox/composer-license-manager/-/pipelines)

License management plugin for Composer.

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

[](#installation)

```
composer require 'arokettu/composer-license-manager'
```

Features
--------

[](#features)

The plugin is configured in the `extra` section of the `composer.json` file.

```
{
    "extra": {
        "arokettu/composer-license-manager": {
            "licenses": {
                "allowed": ["MIT", "LGPL-*"],
                "forbidden": ["GPL-3.0", "AGPL-*"],
                "allow-empty": true
            },
            "packages": {
                "allowed": ["foo/bar", "safenamespace/*"]
            },
            "enforced": true
        }
    }
}
```

### Scan for undesired licenses

[](#scan-for-undesired-licenses)

Run `composer licenses:scan` to check installed packages for undesired licenses.

### Policy enforcement

[](#policy-enforcement)

With `"enforced": true` (default setting) the plugin will prevent installation of packages with undesired licenses during `composer install` and `composer update`.

Documentation
-------------

[](#documentation)

Read full documentation here:

Also on Read the Docs:

Support
-------

[](#support)

Please file issues on our main repo at GitLab:

Feel free to ask any questions in our room on Gitter:

License
-------

[](#license)

The library is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).

###  Health Score

47

—

FairBetter than 93% of packages

Maintenance57

Moderate activity, may be stable

Popularity44

Moderate usage in the ecosystem

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

4

Last Release

947d ago

PHP version history (2 changes)1.0.0PHP ^7.1 || ^8

1.2.0PHP ^8.1

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/963485?v=4)[Anton Smirnov](/maintainers/arokettu)[@arokettu](https://github.com/arokettu)

---

Top Contributors

[![arokettu](https://avatars.githubusercontent.com/u/963485?v=4)](https://github.com/arokettu "arokettu (66 commits)")

---

Tags

composercomposer-pluginlicenselicense-managementlicensescomposerlicensecomposer-pluginlicenseslicense-management

###  Code Quality

TestsPHPUnit

Static AnalysisPsalm

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/arokettu-composer-license-manager/health.svg)

```
[![Health](https://phpackages.com/badges/arokettu-composer-license-manager/health.svg)](https://phpackages.com/packages/arokettu-composer-license-manager)
```

###  Alternatives

[mnsami/composer-custom-directory-installer

A composer plugin, to help install packages of different types in custom paths.

1465.4M62](/packages/mnsami-composer-custom-directory-installer)[vaimo/composer-patches

Applies a patch from a local or remote file to any package that is part of a given composer project. Patches can be defined both on project and on package level. Optional support for patch versioning, sequencing, custom patch applier configuration and patch command for testing/troubleshooting added patches.

3014.6M26](/packages/vaimo-composer-patches)[automattic/jetpack-autoloader

Creates a custom autoloader for a plugin or theme.

576.1M124](/packages/automattic-jetpack-autoloader)[typisttech/imposter-plugin

Composer plugin that wraps all composer vendor packages inside your own namespace. Intended for WordPress plugins.

158263.4k2](/packages/typisttech-imposter-plugin)[liborm85/composer-vendor-cleaner

Composer Vendor Cleaner removes unnecessary development files and directories from vendor directory.

34412.1k1](/packages/liborm85-composer-vendor-cleaner)[szepeviktor/composer-envato

Composer plugin for Envato

3716.8k1](/packages/szepeviktor-composer-envato)

PHPackages © 2026

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