laravel4-hashing icon indicating copy to clipboard operation
laravel4-hashing copied to clipboard

Passwordlib issue

Open kferran opened this issue 11 years ago • 8 comments

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:

  • robclancy/laravel4-hashing dev-master requires passwordlib/passwordlib * -> no matching package found.

Ideas?

kferran avatar Feb 05 '14 22:02 kferran

I missed this issue. This should be solved?

robclancy avatar Mar 11 '14 19:03 robclancy

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 avatar Mar 12 '14 16:03 zawilliams

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.

zawilliams avatar Mar 12 '14 16:03 zawilliams

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

robclancy avatar Mar 12 '14 23:03 robclancy

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.

robclancy avatar Mar 12 '14 23:03 robclancy

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!

zawilliams avatar Mar 13 '14 01:03 zawilliams

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

"passwordlib/passwordlib": "*@dev"

michielgerritsen avatar Aug 07 '14 14:08 michielgerritsen

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

vuhung3990 avatar Jan 15 '15 07:01 vuhung3990