composer-service icon indicating copy to clipboard operation
composer-service copied to clipboard

support create-project command

Open schmunk42 opened this issue 10 years ago • 4 comments

For downloading complete apps it would be nice to have a possibility to specify a composer.json or even URL from a repository.

schmunk42 avatar Mar 17 '14 14:03 schmunk42

yes both ideas are good, thx ! not sure how it could be design/UI speaking, any idea ?

pborreli avatar Mar 17 '14 14:03 pborreli

You could rename the "Go" button to "Update" and add another button "Create Project". Or use radio buttons for "Update" or "Create Project" and keep the "Go" button.

schmunk42 avatar Mar 17 '14 15:03 schmunk42

but in "Create project" case, the textarea is useless, no ? or I am missing something maybe..

pborreli avatar Mar 17 '14 15:03 pborreli

Yeah, sorry you're right ... you need the vendor/package-name, so I'd go with tabs, eg. add one next to composer.json only thing to enter would be the vendor/package-name from packagist.

[update]

  • with a version constraint

schmunk42 avatar Mar 17 '14 15:03 schmunk42