Download the PHP package sllh/composer-lint without Composer
On this page you can find all versions of the php package sllh/composer-lint. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Please rate this library. Is it a good library?
Informations about the package composer-lint
composer-lint
composer-lint is a plugin for Composer.
It extends the composer validate command with extra rules.
Installation
You can install it either globally (recommended):
or locally:
Usage
That's it! Composer will enable automatically the plugin as soon it's installed.
Just run composer validate
command to see the plugin working.
Configuration
You can configure the plugin via the COMPOSER_HOME/config.json
file. Here is the default one:
php
: Checks if the PHP requirement is set on therequire
section.type
: Check if packagetype
is defined.minimum-stability
: Checks ifminimum-stability
is set. It raises an error if it is, except forproject
packages.version-constraints
: Checks if version constraint formats are valid (e.g.~2.0
should be^2.0
).sort-packages
: Checks if packages are sorted on each section. This option is outsidesllh-composer-lint
because it's a composer native one.
All versions of composer-lint with dependencies
PHP Build Version
Package Version
Requires
php Version
^7.4 || ^8.0
composer-plugin-api Version ^2.0
composer-plugin-api Version ^2.0
The package sllh/composer-lint contains the following files
Loading the files please wait ....