PHPackages                             matriphe/laravel-md5-hash - 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. matriphe/laravel-md5-hash

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

matriphe/laravel-md5-hash
=========================

Laravel package to use unsecured MD5 for password hash

2.3(3y ago)46.9k↑57.6%4[1 issues](https://github.com/matriphe/laravel-md5-hash/issues)[1 PRs](https://github.com/matriphe/laravel-md5-hash/pulls)MITPHPCI failing

Since Nov 27Pushed 2y agoCompare

[ Source](https://github.com/matriphe/laravel-md5-hash)[ Packagist](https://packagist.org/packages/matriphe/laravel-md5-hash)[ RSS](/packages/matriphe-laravel-md5-hash/feed)WikiDiscussions master Synced 3w ago

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

Laravel MD5 Hash
================

[](#laravel-md5-hash)

[![Laravel MD5 Hash](https://github.com/matriphe/laravel-md5-hash/actions/workflows/master.yml/badge.svg)](https://github.com/matriphe/laravel-md5-hash/actions/workflows/master.yml)[![Total Download](https://camo.githubusercontent.com/e0c9db9b55aa4957ffe3eae14c965082b9ca81568c5d27b3c599965127e98493/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d617472697068652f6c61726176656c2d6d64352d686173682e737667)](https://packagist.org/packages/matriphe/laravel-md5-hash)[![Latest Stable Version](https://camo.githubusercontent.com/809db1239f006e1e0227422e1d57607880d9422a0ae226799ddbc45f88226e7e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d617472697068652f6c61726176656c2d6d64352d686173682e737667)](https://packagist.org/packages/matriphe/laravel-md5-hash)

This package is used to **replace** Laravel default hash to support the old system that used MD5 for password hash.

> **Warning**Please use it at your own risk, since MD5 is not recommended to be used as a password hash.

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

[](#installation)

Using [Composer](https://getcomposer.org/), just run this command below.

```
composer require matriphe/laravel-md5-hash
```

For Laravel &lt; 6, [please use version 1.1.1](https://github.com/matriphe/laravel-md5-hash/tree/1.1.1) and follow the configuration instruction.

```
composer require matriphe/laravel-md5-hash:1.1.1
```

Configuration
-------------

[](#configuration)

This package uses auto-discovery. Once it got installed, it will automatically replace the hash function to use MD5.

Usage
-----

[](#usage)

Now you can use the built-in hash function using this command.

```
Hash::make('password'); // return 5f4dcc3b5aa765d61d8327deb882cf99
bcrypt('password'); // return 5f4dcc3b5aa765d61d8327deb882cf99
```

Contribution
------------

[](#contribution)

All contributions are welcomed. Please create a pull request or merge request, and make sure all checks are passed ✅ before merging.

If the check failed on checking PHP style, please run [`php-cs-fixer`](https://github.com/FriendsOfPHP/PHP-CS-Fixer) to fix it.

### Using Docker

[](#using-docker)

```
docker run -it --rm -v $(pwd):/app -w /app oskarstark/php-cs-fixer-ga fix
```

### Local Dev

[](#local-dev)

```
vendor/bin/php-cs-fixer fix
```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

35

—

LowBetter than 77% of packages

Maintenance15

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity69

Established project with proven stability

 Bus Factor1

Top contributor holds 93.2% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~221 days

Recently: every ~0 days

Total

9

Last Release

1364d ago

Major Versions

1.1.1 → 2.02022-10-01

### Community

Maintainers

![](https://www.gravatar.com/avatar/809de97d088b0eff358f96141a31bd8897216a03175448192de140f2723bdea6?d=identicon)[matriphe](/maintainers/matriphe)

---

Top Contributors

[![matriphe](https://avatars.githubusercontent.com/u/277262?v=4)](https://github.com/matriphe "matriphe (41 commits)")[![marcus-campos](https://avatars.githubusercontent.com/u/5151894?v=4)](https://github.com/marcus-campos "marcus-campos (2 commits)")[![marky291](https://avatars.githubusercontent.com/u/5384515?v=4)](https://github.com/marky291 "marky291 (1 commits)")

---

Tags

hacktoberfesthashlaravelmd5laravelpasswordhashMD5

### Embed Badge

![Health badge](/badges/matriphe-laravel-md5-hash/health.svg)

```
[![Health](https://phpackages.com/badges/matriphe-laravel-md5-hash/health.svg)](https://phpackages.com/packages/matriphe-laravel-md5-hash)
```

###  Alternatives

[jeremy379/laravel-openid-connect

OpenID Connect support to the PHP League's OAuth2 Server. Compatible with Laravel Passport.

59403.6k8](/packages/jeremy379-laravel-openid-connect)[martbock/laravel-diceware

Diceware Passphrase Generator for Laravel

3268.9k](/packages/martbock-laravel-diceware)[aurorawebsoftware/aauth

Laravel Aauth

411.9k1](/packages/aurorawebsoftware-aauth)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
