solvit.io

Check if your Composer configuration file is valid

Solution

This command validates both the composer.json and composer.lock files:

$ composer validate
Example
$ composer validate

./composer.json is valid for simple usage with composer but has
strict errors that make it unable to be published as a package:
See https://getcomposer.org/doc/04-schema.md for details on the schema

description : The property description is required
Defining autoload.psr-4 with an empty namespace prefix is a bad idea for performance
...
Find more solutions about: ,