A Drush plugin to compare the versions present in the composer.lock with the ones requested in composer.json.

Frederic G. MARAND 4501d9e16f Drupal 9 / Drush 10. 2 лет назад
coverage bda4ca290e Support Symfony > 2.8. 2 лет назад
.gitignore bda4ca290e Support Symfony > 2.8. 2 лет назад
ComposerCheckCommands.php 3051494ee0 Drupal 9 / Drush 10. 2 лет назад
LICENSE.txt 587a5c126d Added license information. 7 лет назад
README.md 3051494ee0 Drupal 9 / Drush 10. 2 лет назад
composer.json bda4ca290e Support Symfony > 2.8. 2 лет назад

README.md

Drupal Composer check

This Drush plugin provides a composer-check (alias cck) command, which compares the packages versions in composer.lock with those requested in the composer.json file of a Drupal 8 project.

Syntax

  • Arguments :
    • composer.lock: Optional. The path to the lock file. Defaults to the one above the project root, which is the default in modern Composer layouts for Drupal 9.
  • Options :
    • --all: List all locked packages, even those not requested
    • --yaml: Produce YAML output instead of a table
  • Aliases: cch

Composer / Packagist

This package is available on Packagist as fgm/composer-check.

Examples

  • Default usage in a drupal/core-recommended or drupal-composer/drupal-project project:

    drush cch

  • Listing all packages in a drupal/drupal` project, in YAML format

    drush cch --all --yaml $PWD/composer.lock

License

Like any Drupal code, this plugin is licensed under the General Public License, version 2.0 or later.

For jurisdictions needing it, it is also licensed under the CeCILL 2.1 or later.