https://github.com/robclancy/laravel4-hashing
Package for when you can't use Bcrypt in Laravel 4
https://github.com/robclancy/laravel4-hashing
Last synced: 2 months ago
JSON representation
Package for when you can't use Bcrypt in Laravel 4
- Host: GitHub
- URL: https://github.com/robclancy/laravel4-hashing
- Owner: robclancy
- Created: 2013-05-27T09:43:38.000Z (almost 13 years ago)
- Default Branch: master
- Last Pushed: 2014-02-28T12:32:01.000Z (about 12 years ago)
- Last Synced: 2024-07-23T09:59:19.747Z (almost 2 years ago)
- Language: PHP
- Size: 206 KB
- Stars: 32
- Watchers: 2
- Forks: 11
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
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.
[](https://packagist.org/packages/robclancy/laravel4-hashing) [](http://travis-ci.org/robclancy/laravel4-hashing) [](https://packagist.org/packages/robclancy/laravel4-hashing)
## Installation
#### Download with composer
Add the following to the "require" section of your `composer.json` file:
```json
"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+