| Package Data | |
|---|---|
| Maintainer Username: | tanmillet |
| Maintainer Contact: | tanmillet@sina.com (Terry Lucas) |
| Package Create Date: | 2017-07-20 |
| Package Last Update: | 2017-08-01 |
| Home Page: | |
| Language: | PHP |
| License: | MIT |
| Last Refreshed: | 2025-12-11 03:04:52 |
| Package Statistics | |
|---|---|
| Total Downloads: | 15 |
| Monthly Downloads: | 0 |
| Daily Downloads: | 0 |
| Total Stars: | 0 |
| Total Watchers: | 1 |
| Total Forks: | 0 |
| Total Open Issues: | 0 |
Require this package with composer:
composer require terrylucas/md5hasher dev-master
After updating composer, add the ServiceProvider to the providers array in config/app.php
Laravel 5.5 uses Package Auto-Discovery, so doesn't require you to manually add the ServiceProvider
Laravel 5.x:
TerryLucas2017\Hasher\LucasMD5Provider::class,
$hashValue = app('lucasmd5')->make('123456');
$isEqual = app('lucasmd5')->check('123456' , $hashValue);
$hashValue = app('lucasmd5')->make('123456' , ['salt' => 'terry']);
$isEqual = app('lucasmd5')->check('123456' , $hashValue , ['salt' => 'terry']);