ticdenis/liccheck

This package is abandoned and no longer maintained. No replacement package was suggested.

PHP License Checker library

This package has no released version yet, and little information is available.


README

liccheck is an PHP License Checker library thanks to composer licenses command output to check composer packages listed and report license issues.

Installation

Use the package manager composer to install liccheck.

composer require --dev ticdenis/liccheck

Usage

./vendor/bin/liccheck -s license_strategy.json

Here an example of a license_strategy.json file:

{
    "Licenses": {
        "authorized_licenses": [
          "BSD-3-Clause",
          "MIT"
        ],
        "unauthorized_licenses": [
          "propietary"
        ]
    },
    "Authorized Packages": [
      "ticdenis/liccheck"
    ]
}

Requirements

  • PHP +5.4
  • Composer +1

Contributing

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

Based on dhatim/python-license-check.

License

MIT