PHPackages                             dan142/laravel-hashing-mysql - 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. [Database &amp; ORM](/categories/database)
4. /
5. dan142/laravel-hashing-mysql

ActiveLibrary[Database &amp; ORM](/categories/database)

dan142/laravel-hashing-mysql
============================

v1.0.0(2y ago)07MITPHPPHP ^7.3|^8.0

Since Jan 16Pushed 2y ago1 watchersCompare

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

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

laravel-hashing-mysql
=====================

[](#laravel-hashing-mysql)

Laravel MySQL Hasher

Adds support for the password hashing algorithms used by MySQL's now-deprecated PASSWORD() and OLD\_PASSWORD() functions to the Laravel Hasher. This is intended to assist in migration from these to more modern and secure algorithms.

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

[](#installation)

Add the package with composer.

```
composer require dan142/laravel-hashing-mysql

```

### Using as the default driver

[](#using-as-the-default-driver)

Edit config/hashing.php and change the driver to either `mysqlpassword` or `mysqloldpassword`, depending on which you need.

```
'driver' => 'mysqlpassword',

```

### Using independently of the default driver

[](#using-independently-of-the-default-driver)

You can specify the driver you'd like to use when using the Hash facade like so:

```
Hash::driver('mysqlpassword')->make("hash");

```

```
Hash::driver('mysqloldpassword')->make("hash");

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity46

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

847d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/18e84a2077b9fa5181a2dfc87880b046e3b6d233eaa7e6d35df468d624eb6bbe?d=identicon)[dan142](/maintainers/dan142)

---

Top Contributors

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

---

Tags

laravelpasswordhashingmysqlhasherold\_password

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/dan142-laravel-hashing-mysql/health.svg)

```
[![Health](https://phpackages.com/badges/dan142-laravel-hashing-mysql/health.svg)](https://phpackages.com/packages/dan142-laravel-hashing-mysql)
```

###  Alternatives

[kirschbaum-development/eloquent-power-joins

The Laravel magic applied to joins.

1.6k25.2M34](/packages/kirschbaum-development-eloquent-power-joins)[awssat/laravel-sync-migration

Laravel tool helps to sync migrations without refreshing the database

10923.2k](/packages/awssat-laravel-sync-migration)[moharrum/laravel-adminer

Adminer database management tool for your Laravel application.

451.0k](/packages/moharrum-laravel-adminer)[mpyw/laravel-mysql-system-variable-manager

A tiny extension of MySqlConnection that manages session system variables

115.8k](/packages/mpyw-laravel-mysql-system-variable-manager)

PHPackages © 2026

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