robclancy / laravel4-hashing

Package for when you can't use Bcrypt in Laravel 4
32 stars 11 forks source link

Passwordlib issue #4

Open kferran opened 10 years ago

kferran commented 10 years ago

First off thanks for setting this up. I am starting a project with a client and only have 5.3.2 support. I really dont want to use Wordpress for this so I am trying to Laravel to work.

When running composer update I get the following error:

Ideas?

robclancy commented 10 years ago

I missed this issue. This should be solved?

zawilliams commented 10 years ago

I'm having this same issue now. I've added the line to the Laravel composer.json file and when I type composer update I'm getting:

Your requirements could not be resolved to an installable set of packages.

  Problem 1
    - Installation request for robclancy/laravel4-hashing 1.0.x -> satisfiable by robclancy/laravel4-hashing[1.0.0].
    - robclancy/laravel4-hashing 1.0.0 requires passwordlib/passwordlib * -> no matching package found.

Potential causes:
 - A typo in the package name
 - The package is not available in a stable-enough version according to your minimum-stability setting
   see <https://groups.google.com/d/topic/composer-dev/_g3ASeIFlrc/discussion> for more details.

Am I missing something?

zawilliams commented 10 years ago

Actually - when I add the extra require line to the Laravel composer.json file, it says there's nothing to install or update.

So I removed it and typed composer require robclancy/laravel4-hashing in the terminal and then I get the error above.

robclancy commented 10 years ago

Oh I think I known the issue. Because passwordlib/passwordlib is set as dev you need to set your stuff to dev.

robclancy commented 10 years ago

I have made an issue on that dependency however I will leave this open and fork it in future and make a new stable dependency.

zawilliams commented 10 years ago

Thanks Rob - I had tried switching the "minimum-stability" to "dev" before and for some reason it didn't work. I wonder if something was being cached. Just tried switching it to dev again and it's good to go. Thanks again!

michielgerritsen commented 10 years ago

An other workaround is to set the stability to dev for the passwordlib only:

"passwordlib/passwordlib": "*@dev"
vuhung3990 commented 9 years ago

thank you @mbdg, this work for me "passwordlib/passwordlib": "*@dev", "robclancy/laravel4-hashing": "1.0.x"