New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

terrylucas/md5hasher

md5 supprot in laravel
15
Install
composer require terrylucas/md5hasher:dev-master
PHP:>=5.6.4
License:MIT
Last Updated:Aug 1, 2017
Links: GitHub  ·  Packagist
Maintainer: tanmillet

Build Status StyleCI

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/framework

The Laravel Framework.

604,216,237 34,982
laravel/tinker

Powerful REPL for the Laravel framework.

512,508,631 7,443
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