Add a warning on update & install if the require section contains invalid package names · Issue #7874 · composer/composer

We already do stricter validation of package names on packagist.org and composer validate/init, but there's a bit of a mix in what is supported or not. To make this clearer Composer 2.0 should erro...