robclancy / laravel4-hashing
Package for when you can't use Bcrypt in Laravel 4.
Installs: 1 780
Dependents: 1
Suggesters: 0
Security: 0
Stars: 31
Watchers: 2
Forks: 11
Open Issues: 1
Requires
- php: >=5.3.2
- illuminate/hashing: ~4.0
- passwordlib/passwordlib: *
Requires (Dev)
- phpunit/phpunit: 3.7.*
This package is auto-updated.
Last update: 2024-12-22 05:03:28 UTC
README
Package for when you can't use Bcrypt in Laravel 4. This drops the minimum PHP version for Laravel 4 to 5.3.2.
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+