construct icon indicating copy to clipboard operation
construct copied to clipboard

Add feature to check if package name is already taken on Packagist

Open raphaelstolt opened this issue 9 years ago • 3 comments

raphaelstolt avatar Apr 22 '16 22:04 raphaelstolt

We could name the command construct packagist:check.

Packagist API: https://packagist.org/apidoc

Maybe use the "Get package by name" endpoint. Use guzzle or curl to make the requests.

jonathantorres avatar Apr 29 '16 03:04 jonathantorres

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?

raphaelstolt avatar May 03 '16 07:05 raphaelstolt

Sure, It can be done as an optional option. It should display a warning, but not stop the construction of the project.

jonathantorres avatar May 03 '16 12:05 jonathantorres