PHPackages                             apnem19/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. [Security](/categories/security)
4. /
5. apnem19/laravel-md5-hash

ActiveLibrary[Security](/categories/security)

apnem19/laravel-md5-hash
========================

Laravel package to use unsecured MD5 for password hash

1.0(2y ago)010MITPHP

Since Mar 3Pushed 2y ago1 watchersCompare

[ Source](https://github.com/apnem19/laravel-md5)[ Packagist](https://packagist.org/packages/apnem19/laravel-md5-hash)[ RSS](/packages/apnem19-laravel-md5-hash/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (1)Versions (2)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

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

Unknown

Total

1

Last Release

801d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c7117797c09bc759a0667b66dd30136bad3c2110103e99dafac61fbed70e5d5?d=identicon)[apnem19](/maintainers/apnem19)

---

Top Contributors

[![apnem19](https://avatars.githubusercontent.com/u/63157221?v=4)](https://github.com/apnem19 "apnem19 (3 commits)")

---

Tags

laravelpasswordhashMD5

### Embed Badge

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

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

###  Alternatives

[mikemclin/laravel-wp-password

Laravel package that checks and creates WordPress password hashes

863.4M2](/packages/mikemclin-laravel-wp-password)[masterro/laravel-xss-filter

Filter user input for XSS but don't touch other html

41254.5k](/packages/masterro-laravel-xss-filter)[miladrahimi/phpcrypt

Encryption, decryption, and hashing tools for PHP projects

3171.5k2](/packages/miladrahimi-phpcrypt)[nicobleiler/php-passphrase

Passphrase generator with Laravel integration, inspired by Bitwarden. Uses the EFF long word list by default with support for custom wordlists.

451.7k](/packages/nicobleiler-php-passphrase)[ammardev/laravel-wp-hash-driver

Supports Wordpress passwords hashing and checking in Laravel's Hash facade.

169.3k](/packages/ammardev-laravel-wp-hash-driver)[robclancy/laravel4-hashing

Package for when you can't use Bcrypt in Laravel 4.

301.8k1](/packages/robclancy-laravel4-hashing)

PHPackages © 2026

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