Open raphaelstolt opened 8 years ago
Would that really be a own command, and not an optional option which halts the further construction and produces a warning to choose an alternative package name?
Sure, It can be done as an optional option. It should display a warning, but not stop the construction of the project.
We could name the command
construct packagist:check
.Packagist API: https://packagist.org/apidoc
Maybe use the "Get package by name" endpoint. Use
guzzle
orcurl
to make the requests.