Composer dependency should not contain uppercase characters

require.Acme/WidgetsPackage is invalid, it should not contain uppercase characters. Please use acme/widgetspackage instead. 

Explanation

Composer 2 is more strict than Composer 1. One of the areas are package names should use lowercase names, regardless of casing for the repository name.

Solution

While this is a warning and not an actual error, you should still resolve this by using the proper lowercase name of the package in your composer.json requirements. If the package truly contains uppercase characters in their composer.json, you should notify the package author of this message by opening an issue or a pull request.

← Back to the knowledge base

Did this solve the error? Give us a shout out on Twitter. If not, email support for help.

Sign in with any of the following services to connect Shift with your Laravel project.


Don't use one of these services?

Temporarily push your project to a free, private repository on one of these cloud-based services or upgrade your project locally with Shift for Docker.