robclancy / laravel4-hashing

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

Laravel4-Hashing

Package for when you can't use Bcrypt in Laravel 4. This drops the minimum PHP version for Laravel 4 to 5.3.2.

Total Downloads Build Status License

Installation

Download with composer

Add the following to the "require" section of your composer.json file:

    "robclancy/laravel4-hashing": "1.0.x"

Then run composer update like usual.

Add the new service provider

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+