Composer linter for Phabricator's Arcanist

v1.0.2 2018-06-15 20:14 UTC

This package is auto-updated.

Last update: 2024-01-27 05:35:42 UTC


Composer linter for Arcanist.

This validates composer.json/composer.lock files using composer validate.


Require this project via composer: composer require-dev diablomedia/arc-composer

Add the load path to your .arcconfig:

    "load": ["vendor/diablomedia/arc-composer"]


Add the linter to your .arclint file. It is recommended to include both your composer.json and composer.lock files so that the linter will run if either of these files have changed:

    "linters": {
        "composer": {
            "bin": ["/usr/local/bin/composer"],
            "type": "diablomedia-composer",
            "include": [
            "strict": "false"

Enabling the "strict" flag will cause warnings to show up as errors, and cause the --strict flag to be passed to the composer validate command.