PackageTrack
Sign in Get early access

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 2026
2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 15
  1. 3.0.0 08 Apr 2026
    Release notes

    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 --allowlist and --blocklist to be passed as arguments. (#51)
    • Add init command to create a .allowed-licenses file for currently installed dependencies. (#51)

    Changed

    • Increase minimum required versions of guzzlehttp/guzzle to 7.4.5
    • Increase minimum required versions of symfony/css-selector and symfony/dom-crawler to major version 6 or 7

    Removed

    Thanks to: Atesca, Jan-Walther-Basilicom, konradmichalik

    Full Changelog: 2.7.0...3.0.0

    Open source →
    Release notes

    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 --allowlist and --blocklist to be passed as arguments. (#51)
    • Add init command to create a .allowed-licenses file for currently installed dependencies. (#51)

    Changed

    • Increase minimum required versions of guzzlehttp/guzzle to 7.4.5
    • Increase minimum required versions of symfony/css-selector and symfony/dom-crawler to major version 6 or 7

    Removed

    Thanks to: Atesca, Jan-Walther-Basilicom, konradmichalik

    Open source →
  2. 2.7.0 26 Jan 2025
    Release notes

    2.7.0 - 2024-01-26

    Added

    • Add option for --no-dev flag 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 the none license in either list. (#45)

    Thanks to: ildyria and tourze

    New Contributors

    Full Changelog: 2.6.0...2.7.0

    Open source →
    Release notes

    Added

    • Add option for --no-dev flag 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 the none license in either list. (#45)

    Thanks to: ildyria and tourze

    Open source →
  3. 2.6.0 06 Jul 2024
    Release notes

    Added

    • Add documentation on exit codes to expect from any composer-license-checker command. (#41)
    • Verify the exist code of the internal call to composer licenses to determine if the command was successful. (#41)

    Changed

    • Improve type documentation and clean up composer.json configuration. (#40)

    Thanks to: SvenRtbg

    Full Changelog: 2.5.1...2.6.0

    Open source →
    Release notes

    Added

    • Add documentation on exit codes to expect from any composer-license-checker command. (#41)
    • Verify the exist code of the internal call to composer licenses to determine if the command was successful. (#41)

    Changed

    • Improve type documentation and clean up composer.json configuration. (#40)

    Thanks to: SvenRtbg

    Open source →
  4. 2.5.1 05 Jan 2024
    Release notes

    Changed

    • Use JSON format when generating output with composer licenses instead of parsing text output. (#33)
    Open source →
    Release notes

    Changed

    • Use JSON format when generating output with composer licenses instead of parsing text output. (#33)
    Open source →
  5. 2.5.0 16 Nov 2023
    Release notes

    Added

    • Add support for Symfony 7. (#32)

    Thanks to: keulinho

    Open source →
    Release notes

    Added

    • Add support for Symfony 7. (#32)

    Thanks to: keulinho

    Open source →
  6. 2.4.3 04 Oct 2023
    Release notes

    Change

    • Update required composer version to mitigate CVE exposure. (#29)

    Thanks to: phansys

    Open source →
    Release notes

    Change

    • Update required composer version to mitigate CVE exposure. (#29)

    Thanks to: phansys

    Open source →
  7. 2.4.2 13 Aug 2023
    Release notes

    Change

    • Update integration with tldrlegal to work with their new website.
    Open source →
    Release notes

    Change

    • Update integration with tldrlegal to work with their new website.
    Open source →
  8. 2.4.1 19 May 2023
    Release notes

    Change

    • Use --dev flag in documentation for installing the package.
    • Fix deprecation warning (#24)

    Thanks to: manavo

    Open source →
  9. 2.4.0 30 Apr 2022
    Release notes

    Added

    • --show-packages and --grouped options for the report command (#22)
    • --filter to restrict queried and displayed licenses (#22)

    Thanks to: dkemper

    Open source →
  10. 2.3.0 02 Mar 2022
    Release notes

    Change

    • Composer: allow for psr/simple-cache versions 2 and 3
    • Allow for v6 of all symfony dependencies
    Open source →
    Release notes

    Change

    • Composer: allow for psr/simple-cache versions 2 and 3
    • Allow for v6 of all symfony dependencies
    Open source →
  11. 2.2.0 02 Jun 2021
    Release notes

    Added

    • --allow option to always allow a specific package or author/vendor
    Open source →
  12. 2.1.0 01 Jan 2021
    Release notes

    Added

    • Support for PHP 8

    Changed

    • Upgrade PHPUnit major version from 7 to 9
    • Upgraded several dependencies to work with newer PHP versions. Major version bump includes symfony/dom-crawler.

    Removed

    Open source →
  13. 2.0.0 07 Jul 2020
    Release notes

    Changed

    • Terminology for black/whitelist changed to block/allowlist (This changes the CLI interface of the CheckCommand )
    • Command classes now return an integer exist code
    Open source →
  14. 1.0.1 06 Apr 2019
    Release notes

    Added

    • Added Scrutinizer code coverage

    Changed

    • Fixed path to autoloader when installed with composer

    Removed

    Open source →
  15. 1.0.0 06 Apr 2019
    Release notes

    Initial Release

    Added

    • check and report commands
    • summary lookup on tldrlegal
    • caching of lookups

    Changed

    Removed

    Open source →

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive