Laravel MD5 Hash
This package is used to replace Laravel's default hash to support legacy systems that used MD5 for password hash., (*1)
Please use it with your own risk, since MD5 is not recommended to be used as password hash., (*2)
Installation
Using Composer, just run this command below., (*3)
composer require marcus-campos/laravel-md5-hash
Configuration
After installed, open config/app.php
and find this line., (*4)
Illuminate\Hashing\HashServiceProvider::class
Comment or remove that line and add this line to override Laravel's hash handling., (*5)
L5MD5Hash\Md5Hash\HashServiceProvider::class
Usage
Now you can use built in hash function using this command., (*6)
Hash::make('password'); // return 5f4dcc3b5aa765d61d8327deb882cf99
bcrypt('password'); // return 5f4dcc3b5aa765d61d8327deb882cf99
Tanks
Matriphe, (*7)
Marcus Campos - campos.v.marcus@gmail.com, (*8)
License
The MIT License (MIT). Please see License File for more information., (*9)