PHPackages                             brokerexchange/mcrypthasher - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Authentication &amp; Authorization](/categories/authentication)
4. /
5. brokerexchange/mcrypthasher

ActiveLibrary[Authentication &amp; Authorization](/categories/authentication)

brokerexchange/mcrypthasher
===========================

Mcrypt Hasher For Laravel Auth

v6.0.0(1y ago)02933MITPHP

Since Oct 25Pushed 1y ago5 watchersCompare

[ Source](https://github.com/BrokerExchange/McryptHasher)[ Packagist](https://packagist.org/packages/brokerexchange/mcrypthasher)[ Docs](http://brokerexchange.github.io/McryptHasher/)[ RSS](/packages/brokerexchange-mcrypthasher/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (10)Dependencies (2)Versions (21)Used By (0)

McryptHasher
============

[](#mcrypthasher)

Mcrypt Hasher For Laravel Auth

This package will replace Laravel's default hash service provider.

Installation
------------

[](#installation)

1. `composer require brokerexchange/mcrypthasher`
2. (Optional) Publish the config

    - `php artisan vendor:publish --tag=mcrypt`
3. (Optional) Add MCRYPT\_KEY to your .env file

    - `MCRYPT_KEY='My awesome hash key'`

note: this step is optional because APP\_KEY will be used if MCRYPT\_KEY is not provided in your project.

5. If you are using Laravel 5.5+, this package will be auto-discovered. Otherwise, add `McryptHasher\McryptHasherServiceProvider::class,` to config/app.php

```
