hacklee / laravel5-php-redis

在laravel中用外观模式操作php的redis扩展类
MIT License
3 stars 1 forks source link

Could not find package hacklee/laravel5-php-redis at any version... #2

Closed heisian closed 8 years ago

heisian commented 8 years ago

Running:

composer require hacklee/laravel5-php-redis

Produces:

[InvalidArgumentException]                                                             
Could not find package hacklee/laravel5-php-redis at any version for your minimum-stability (stable). Check the package spelling or your minimum-stability  

I think to fix this problem you need to run:

git tag 1.0
git push origin --tags

And you should see a 1.0 version (in addition to dev-master) in your Packagist page, as long as you're Packagist account is set to auto-update with a GitHub push.

Here's an example of one of mine: https://packagist.org/packages/revolverobotics/helper-tools

Note: I am aware that adding "hacklee/laravel5-php-redis": "dev-master" to composer.json works, but would prefer composer require to work as well as have versioning.

hacklee commented 8 years ago

thank you ,fixed

heisian commented 8 years ago

awesome, thank you!