terrylucas/md5hasher
Installation
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,
Usage
$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']);
Related Packages
doctrine/dbal
Powerful PHP database abstraction layer (DBAL) with many features for database s...
648,266,899
9,701
laravel/serializable-closure
Laravel Serializable Closure provides an easy and secure way to serialize closur...
429,221,767
607
nunomaduro/collision
Cli error handling for console/command-line PHP applications.
403,217,078
4,664