PHPackages                             sunxyw/authme-wrapper - 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. sunxyw/authme-wrapper

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

sunxyw/authme-wrapper
=====================

A package for verify password using Authme encryption

1.0.2(5y ago)06MITPHP

Since Jul 7Pushed 5y ago1 watchersCompare

[ Source](https://github.com/sunxyw/php-authme-wrapper)[ Packagist](https://packagist.org/packages/sunxyw/authme-wrapper)[ RSS](/packages/sunxyw-authme-wrapper/feed)WikiDiscussions master Synced today

READMEChangelog (3)DependenciesVersions (4)Used By (0)

PHP Authme Wrapper
==================

[](#php-authme-wrapper)

\*\* A simple php wrapper of authme, only verify password and hash password. Don't include database actions.

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

[](#installation)

You will need composer to install it.

```
$ composer require sunxyw/authme-wrapper
```

Usage
-----

[](#usage)

```
use Sunxyw\AuthmeWrapper\Wrapper;

$wrapper = Wrapper::getInstance();
$wrapper->use('Sha256'); // Now support: Sha256, Pbkdf2, Bcrypt
$inputPassword = '1234567';
$passwordHash = '$SHA$...'; // Usually stored in database
if ($wrapper->verify($inputPassword, $passwordHash)) {
    // Password is correct.
}
$generatedHash = $wrapper->hash($inputPassword);
```

You can also use it simplify:

```
Wrapper::getInstance()->use('Sha256')->verify();
```

If you ignore the `use` method, if will be set to `Sha256` by default.

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

[](#contributing)

If you have any feature or improvement want to submit, please send a pr.

###  Health Score

25

—

LowBetter than 35% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity58

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 ~0 days

Total

3

Last Release

2187d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/0074b4d8ef244d2d516e67fe7949e287b37eeee02d4adfa0da953077bf7e0121?d=identicon)[sunxyw](/maintainers/sunxyw)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/sunxyw-authme-wrapper/health.svg)

```
[![Health](https://phpackages.com/badges/sunxyw-authme-wrapper/health.svg)](https://phpackages.com/packages/sunxyw-authme-wrapper)
```

###  Alternatives

[vitalybaev/laravel5-dkim

Laravel 5/6 package for signing outgoing messages with DKIM.

3163.1k](/packages/vitalybaev-laravel5-dkim)

PHPackages © 2026

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