dominikb/composer-license-checker
Utility to check for licenses of dependencies and block/allow them.
3.0.0
5.3M downloads/mo
#1112 most downloaded on Packagist
dominikb/composer-license-checker
What this package is like to depend on
Last release 4 months ago
08 Apr 2026
Release timing varies
gaps range from 6 weeks to 1.2 years
Nearly every release is documented
notes for 15 of 15 stable releases
Nothing withdrawn
no release was ever pulled
7 years old
15 releases · first in 2019
1 release in the last 12 months
see the full history below
Release timeline
15 releases · Apr 2019 to Apr 2026Releases
latest 15-
3.0.008 Apr 2026Release notes
Open source →3.0.0 - 2026-04-08
The major version was increased because of upgrades to the minimum required PHP version and other packages.
In practise, this upgrade should not require any changes on your end.
Added
- Support for PHP 8.4 and PHP 8.5. (#49, #55)
- Allow files for
--allowlistand--blocklistto be passed as arguments. (#51) - Add
initcommand to create a.allowed-licensesfile for currently installed dependencies. (#51)
Changed
- Increase minimum required versions of
guzzlehttp/guzzleto7.4.5 - Increase minimum required versions of
symfony/css-selectorandsymfony/dom-crawlerto major version6or7
Removed
- Dropped support for PHP 7, PHP 8.0 and PHP 8.1. (see: supported versions)
Thanks to: Atesca, Jan-Walther-Basilicom, konradmichalik
Full Changelog: 2.7.0...3.0.0
Release notes
Open source →The major version was increased because of upgrades to the minimum required PHP version and other packages.
In practise, this upgrade should not require any changes on your end.
Added
- Support for PHP 8.4 and PHP 8.5. (#49, #55)
- Allow files for
--allowlistand--blocklistto be passed as arguments. (#51) - Add
initcommand to create a.allowed-licensesfile for currently installed dependencies. (#51)
Changed
- Increase minimum required versions of
guzzlehttp/guzzleto7.4.5 - Increase minimum required versions of
symfony/css-selectorandsymfony/dom-crawlerto major version6or7
Removed
- Dropped support for PHP 7, PHP 8.0 and PHP 8.1. (see: supported versions)
Thanks to: Atesca, Jan-Walther-Basilicom, konradmichalik
-
2.7.026 Jan 2025Release notes
Open source →2.7.0 - 2024-01-26
Added
- Add option for
--no-devflag to ignore dev-only dependencies when checking licenses. (#48)
Changed
- Dependencies without a specified license will now be grouped under the license
none. Those dependencies can be allowed/blocked by specifying thenonelicense in either list. (#45)
New Contributors
Full Changelog: 2.6.0...2.7.0
Release notes
Open source →Added
- Add option for
--no-devflag to ignore dev-only dependencies when checking licenses. (#48)
Changed
- Dependencies without a specified license will now be grouped under the license
none. Those dependencies can be allowed/blocked by specifying thenonelicense in either list. (#45)
- Add option for
-
2.6.006 Jul 2024Release notes
Open source →Added
- Add documentation on exit codes to expect from any
composer-license-checkercommand. (#41) - Verify the exist code of the internal call to
composer licensesto determine if the command was successful. (#41)
Changed
- Improve type documentation and clean up
composer.jsonconfiguration. (#40)
Thanks to: SvenRtbg
Full Changelog: 2.5.1...2.6.0
Release notes
Open source →Added
- Add documentation on exit codes to expect from any
composer-license-checkercommand. (#41) - Verify the exist code of the internal call to
composer licensesto determine if the command was successful. (#41)
Changed
- Improve type documentation and clean up
composer.jsonconfiguration. (#40)
Thanks to: SvenRtbg
- Add documentation on exit codes to expect from any
-
2.5.105 Jan 2024Release notes
Open source →Changed
- Use JSON format when generating output with
composer licensesinstead of parsing text output. (#33)
Release notes
Open source →Changed
- Use JSON format when generating output with
composer licensesinstead of parsing text output. (#33)
- Use JSON format when generating output with
-
2.5.016 Nov 2023 -
2.4.304 Oct 2023Release notes
Open source →Release notes
Open source → -
2.4.213 Aug 2023Release notes
Open source →Change
- Update integration with tldrlegal to work with their new website.
Release notes
Open source →Change
- Update integration with tldrlegal to work with their new website.
-
2.4.119 May 2023Release notes
Open source →Change
- Use
--devflag in documentation for installing the package. - Fix deprecation warning (#24)
Thanks to: manavo
- Use
-
2.4.030 Apr 2022Release notes
Open source →Added
- --show-packages and --grouped options for the report command (#22)
- --filter to restrict queried and displayed licenses (#22)
Thanks to: dkemper
-
2.3.002 Mar 2022Release notes
Open source →Change
- Composer: allow for
psr/simple-cacheversions 2 and 3 - Allow for
v6of all symfony dependencies
Release notes
Open source →Change
- Composer: allow for
psr/simple-cacheversions 2 and 3 - Allow for
v6of all symfony dependencies
- Composer: allow for
-
2.2.002 Jun 2021Release notes
Open source →Added
- --allow option to always allow a specific package or author/vendor
-
2.1.001 Jan 2021Release notes
Open source →Added
- Support for PHP 8
Changed
- Upgrade PHPUnit major version from
7to9 - Upgraded several dependencies to work with newer PHP versions. Major version bump includes symfony/dom-crawler.
Removed
- Dropped support for PHP 7.1 and 7.2 (see: supported versions)
-
2.0.007 Jul 2020Release notes
Open source →Changed
- Terminology for black/whitelist changed to block/allowlist (This changes the CLI interface of the
CheckCommand) Commandclasses now return an integer exist code
- Terminology for black/whitelist changed to block/allowlist (This changes the CLI interface of the
-
1.0.106 Apr 2019Release notes
Open source →Added
- Added Scrutinizer code coverage
Changed
- Fixed path to autoloader when installed with composer
Removed
-
1.0.006 Apr 2019Release notes
Open source →Initial Release
Added
checkandreportcommands- summary lookup on tldrlegal
- caching of lookups
Changed
Removed