PHPackages                             mdhearing/aspnetcore-identity - 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. mdhearing/aspnetcore-identity

ActiveLibrary[Security](/categories/security)

mdhearing/aspnetcore-identity
=============================

A direct port of the algorithms used to generate and verify ASP.NET password hashes in .NET Core

0.3.0(3y ago)215.8k↓43.3%8[1 PRs](https://github.com/MDHearingAid/aspnetcore-identity-php/pulls)MITPHPPHP ~7.2 || ~8.0

Since Feb 14Pushed 3y ago2 watchersCompare

[ Source](https://github.com/MDHearingAid/aspnetcore-identity-php)[ Packagist](https://packagist.org/packages/mdhearing/aspnetcore-identity)[ Docs](https://github.com/MDHearingAid/aspnetcore-identity)[ RSS](/packages/mdhearing-aspnetcore-identity/feed)WikiDiscussions master Synced 1mo ago

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

aspnetcore-identity
===================

[](#aspnetcore-identity)

[![Latest Version on Packagist](https://camo.githubusercontent.com/4647ed55f3798e4bf5245ca87345d1caaa193e2127bebb7abdb2bcb2cd5cb596/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d6468656172696e672f6173706e6574636f72652d6964656e746974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mdhearing/aspnetcore-identity)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/09c1040a1071aa858746d7495b2c724bedced8b1f51dc9a085614695b3754ab1/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4d4448656172696e674169642f6173706e6574636f72652d6964656e746974792d7068702f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/MDHearingAid/aspnetcore-identity-php)[![Coverage Status](https://camo.githubusercontent.com/60e5cd2a99e05a4240ae2e6aca62f1f9cdad664c657e01231513f9951ded1d37/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f4d4448656172696e674169642f6173706e6574636f72652d6964656e746974792d7068702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/MDHearingAid/aspnetcore-identity-php/code-structure)[![Quality Score](https://camo.githubusercontent.com/506dd62650074257f6bf2927a13861a4c61da3b803d08af6b0dd07a7f01ad14f/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4d4448656172696e674169642f6173706e6574636f72652d6964656e746974792d7068702e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/MDHearingAid/aspnetcore-identity-php)[![Total Downloads](https://camo.githubusercontent.com/384261b41ca152711fcdc5bfac7a4fa174406f29aa6949c9d6b1dcab2217bef0/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d6468656172696e672f6173706e6574636f72652d6964656e746974792e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mdhearing/aspnetcore-identity)

A direct PHP port of the algorithms used to generate and verify ASP.NET password hashes in .NET Core.

Install
-------

[](#install)

Via Composer

```
$ composer require mdhearing/aspnetcore-identity
```

Usage
-----

[](#usage)

```
$hasher = new MDHearing\AspNetCore\Identity\PasswordHasher();
$hashedPassword = $hasher->hashPassword('very strong password');
$result = $hasher->verifyHashedPassword($hashedPassword, 'very strong password');
```

Change log
----------

[](#change-log)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Testing
-------

[](#testing)

```
$ composer test
$ composer check-style
```

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) and [CODE\_OF\_CONDUCT](CODE_OF_CONDUCT.md) for details.

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

Credits
-------

[](#credits)

- [Steven Maguire](https://github.com/stevenmaguire)
- [All Contributors](../../contributors)

License
-------

[](#license)

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

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity31

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity53

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

Every ~430 days

Total

3

Last Release

1425d ago

PHP version history (2 changes)0.1.0PHP ~7.2

0.3.0PHP ~7.2 || ~8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/8d9c05a30823ae19fc54aa4b4721a696c253f8dec10c7fd22d372cfdc0fcb36d?d=identicon)[stevenmaguire](/maintainers/stevenmaguire)

---

Top Contributors

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

---

Tags

MDHearingAidaspnetcore-identity

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/mdhearing-aspnetcore-identity/health.svg)

```
[![Health](https://phpackages.com/badges/mdhearing-aspnetcore-identity/health.svg)](https://phpackages.com/packages/mdhearing-aspnetcore-identity)
```

###  Alternatives

[defuse/php-encryption

Secure PHP Encryption Library

3.9k162.4M214](/packages/defuse-php-encryption)[mews/purifier

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

2.0k16.7M113](/packages/mews-purifier)[robrichards/xmlseclibs

A PHP library for XML Security

41478.1M118](/packages/robrichards-xmlseclibs)[bjeavons/zxcvbn-php

Realistic password strength estimation PHP library based on Zxcvbn JS

87117.5M63](/packages/bjeavons-zxcvbn-php)[illuminate/encryption

The Illuminate Encryption package.

9229.7M280](/packages/illuminate-encryption)[paragonie/hidden-string

Encapsulate strings in an object to hide them from stack traces

7410.6M39](/packages/paragonie-hidden-string)

PHPackages © 2026

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