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": "1.0.x"
Then run composer update
like usual.
Go into app/config/app.php
and find Illuminate\Hashing\HashServiceProvider
. Change Illuminate
to Robbo
. So it will then be Robbo\Hashing\HashServiceProvider
.
That's it, you are now using Sha512 hashing and compatible with PHP 5.3.2+