NOTE: currently this is just using Sha512. See bottom of readme for future plans.
Package for when you can't use Bcrypt in Laravel 4. This drops the minimum PHP version for Laravel 4 to 5.3.2.
Add the following to the "require" section of your composer.json
file:
"robclancy/laravel4-hashing": "dev-master"
Then run composer update
like usual.
Go into app/config/app.php
and find Illuminate\Hashing\HashServiceProvider
. Change Illuminate
to Robbo
.
That's it, you are now using Sha512 hashing and compatible with PHP 5.3.2+
I plan to support all hash functions specified here: https://github.com/ircmaxell/PHP-PasswordLib#specifications
When I do you will be able to choose which one to use from the app.php
config file.