Composer by default only knows about packages registered on
packagist.org, which your package is not. Github repos have nothing to
do with composer package names, so it's not good enough that your code
is hosted at
github.com/c006/yii2-submit-spinner :)
Cheers
On 25/05/2014 19:40, Jon Chambers wrote:
> Windows 8.1
> Composer version a115cfd0d8efbbc2b71a4e19101c6d0b64b6e15b 2014-05-22
> 07:44:01
>
>
> Hello-
>
> I can clone and update the repository but not install it.
> Here is a link to the composer.json
> <
https://github.com/c006/yii2-submit-spinner/blob/master/composer.json> file.
>
>
> php composer.phar require --prefer-dist "c006/yii2-submit-spinner" "*"
> I also tried
> php composer.phar require --prefer-dist "c006/yii2-submit-spinner"
> "dev-master"
>
>
> Have tried many different variations of the .json file without success.
> Here is the error.
>
> ./composer.json has been updated
> Loading composer repositories with package information
> Updating dependencies (including require-dev)
> Your requirements could not be resolved to an installable set of packages.
>
> Problem 1
> - The requested package c006/yii2-submit-spinner could not be found
> in any version
>
> Potential causes:
> - A typo in the package name
> - The package is not available in a stable-enough version according to
> your minim
> see
> <
https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for
>
> Read <
http://getcomposer.org/doc/articles/troubleshooting.md> for
> further common p
>
> Installation failed, reverting ./composer.json to its original content.
>
>
> Any help is appreciated.
>
> Thanks.
>
> --
> You received this message because you are subscribed to the Google
> Groups "composer-users" group.
> To unsubscribe from this group and stop receiving emails from it, send
> an email to
composer-user...@googlegroups.com
> <mailto:
composer-user...@googlegroups.com>.
> For more options, visit
https://groups.google.com/d/optout.
--
Jordi Boggiano
@seldaek -
http://nelm.io/jordi