PHPackages                             phauthentic/password-hashers - 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. phauthentic/password-hashers

ActiveLibrary[Security](/categories/security)

phauthentic/password-hashers
============================

Password Hashing Library

3.0.0(2y ago)07.1k[1 PRs](https://github.com/Phauthentic/password-hasher/pulls)1MITPHPPHP ^8.0CI failing

Since Oct 19Pushed 5mo ago2 watchersCompare

[ Source](https://github.com/Phauthentic/password-hasher)[ Packagist](https://packagist.org/packages/phauthentic/password-hashers)[ RSS](/packages/phauthentic-password-hashers/feed)WikiDiscussions master Synced yesterday

READMEChangelog (4)Dependencies (3)Versions (9)Used By (1)

Password Hashers
================

[](#password-hashers)

[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Scrutinizer Coverage](https://camo.githubusercontent.com/25de452bf42fa82a9971dd876f0f082669bd54328c2e8ca5e8313024e7a06d20/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f506861757468656e7469632f70617373776f72642d686173686572732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Phauthentic/password-hashers/)[![Code Quality](https://camo.githubusercontent.com/246af3510a2d022e6d78e41215aa7d6a27af254ba975b1fcc11f5ccfc11ecd55/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f506861757468656e7469632f70617373776f72642d686173686572732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Phauthentic/password-hashers/)[![phpstan Level 8](https://camo.githubusercontent.com/7852602145fba392abe09ffd545de26f2c144a54705004cc1a21bf22a593f2ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068707374616e2d4c6576656c253230382d627269676874677265656e3f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/7852602145fba392abe09ffd545de26f2c144a54705004cc1a21bf22a593f2ed/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068707374616e2d4c6576656c253230382d627269676874677265656e3f7374796c653d666c61742d737175617265)[![php ^8.0](https://camo.githubusercontent.com/9dcb3f6d1d110cf6c666b6dd9c677d1f63050979923cf8e7b9648b05b36540aa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e302d626c75653f7374796c653d666c61742d737175617265)](https://camo.githubusercontent.com/9dcb3f6d1d110cf6c666b6dd9c677d1f63050979923cf8e7b9648b05b36540aa/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253545382e302d626c75653f7374796c653d666c61742d737175617265)

A simple password hasher library.

This is mostly an abstraction around password hashers to have an OOP interface to work with.

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

[](#installation)

Installation via [Composer](https://getcomposer.org/)

```
composer require Phauthentic/password-hashers
```

Documentation
-------------

[](#documentation)

- [Default Password Hasher](./docs/DefaultPasswordHasher.md) features all algorithms [phps password\_hash()](http://php.net/manual/de/function.password-hash.php) features.
- [Fallback Password Hasher](./docs/FallbackPasswordHasher.md) transparently upgrade hashes to new hash algorithms
- [Md5 &amp; Sha1 Password Hasher](./docs/Md5-and-Sha1-PasswordHasher.md) deprecated hasing algorithms for legacy apps
- [Implementing your own Hasher](./docs/Implementing-your-own-Hasher.md)

Copyright &amp; License
-----------------------

[](#copyright--license)

Licensed under the [MIT license](LICENSE.txt).

- Copyright (c) [Phauthentic](https://github.com/Phauthentic)
- Copyright (c) [Cake Software Foundation, Inc.](https://cakefoundation.org)

###  Health Score

42

—

FairBetter than 88% of packages

Maintenance49

Moderate activity, may be stable

Popularity22

Limited adoption so far

Community13

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 91.5% 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 ~328 days

Recently: every ~263 days

Total

7

Last Release

842d ago

Major Versions

1.0.x-dev → 2.0.02021-04-25

2.0.x-dev → 3.0.02024-03-13

PHP version history (4 changes)1.0.0PHP ~7.1

1.0.x-devPHP ^7.1|^8.0

2.0.0PHP ^7.4|^8.0

3.0.0PHP ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0643e6255da841fe65260ec6e263d8908a40a84b884c32e9fc6be6a15e252fa8?d=identicon)[burzum](/maintainers/burzum)

![](https://avatars.githubusercontent.com/u/7437773?v=4)[Robert Pustułka](/maintainers/robertpustulka)[@robertpustulka](https://github.com/robertpustulka)

---

Top Contributors

[![burzum](https://avatars.githubusercontent.com/u/162789?v=4)](https://github.com/burzum "burzum (43 commits)")[![floriankraemer](https://avatars.githubusercontent.com/u/4996022?v=4)](https://github.com/floriankraemer "floriankraemer (4 commits)")

---

Tags

dependency-freehashhashinglibrarypasswordpassword-hashpassword-hasherpassword-hasherspassword-safetysecurity

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP\_CodeSniffer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/phauthentic-password-hashers/health.svg)

```
[![Health](https://phpackages.com/badges/phauthentic-password-hashers/health.svg)](https://phpackages.com/packages/phauthentic-password-hashers)
```

###  Alternatives

[mews/purifier

Laravel 5/6/7/8/9/10 HtmlPurifier Package

2.0k18.7M142](/packages/mews-purifier)[paragonie/ecc

PHP Elliptic Curve Cryptography library

24820.0k37](/packages/paragonie-ecc)

PHPackages © 2026

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