voyager-themes icon indicating copy to clipboard operation
voyager-themes copied to clipboard

Composer Packaging name deprecated

Open Padrio opened this issue 5 years ago • 0 comments

Your composer package name voyager-themes is deprecated and should be renamed to match composers naming conventions. To accomplish this, it's enough to add your vendor name.

So changing it from: voyager-themes to devdojo/voyager-themes will fix it. Otherwise this error will always be thrown when running any compsoer related command.

To reproduce the problem, yo need to have "voyger-themes" in your required packages inside your composer.json and then run: composer validate:

$ composer validate
Deprecation warning: require.voyager-themes is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
Deprecation warning: require.voyager-themes is invalid, it should have a vendor name, a forward slash, and a package name. The vendor and package name can be words separated by -, . or _. The complete name should match "[a-z0-9]([_.-]?[a-z0-9]+)*/[a-z0-9]([_.-]?[a-z0-9]+)*". Make sure you fix this as Composer 2.0 will error.
./composer.json is valid, but with a few warnings
See https://getcomposer.org/doc/04-schema.md for details on the schema

Padrio avatar Apr 08 '19 10:04 Padrio