PHPackages                             qing7777/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. qing7777/hash

ActivePackage

qing7777/hash
=============

Hyperf-ext hash Package

v1.0.0(6y ago)148MITPHPPHP &gt;=7.2CI failing

Since Mar 31Pushed 6y agoCompare

[ Source](https://github.com/qing7777/hash)[ Packagist](https://packagist.org/packages/qing7777/hash)[ Docs](https://github.com/qing7777/hash)[ RSS](/packages/qing7777-hash/feed)WikiDiscussions master Synced today

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

Require this package with composer:

```
composer require qing7777/hash

```

Configuration
-------------

[](#configuration)

To use your own settings, publish config.

```
php bin/hyperf.php vendor:publish qing7260/hash

```

`config/autoload/hash.php`

获取Hash
======

[](#获取hash)

```
use Qing7777\Hash\Hash;

$str = '12345';

$encryptedStr = Hash::make($str);
```

or

```
use Hyperf\Utils\ApplicationContext;
use Qing7777\Hash\HashInterface;

$str = '12345';

$HashInterface = ApplicationContext::getContainer()->get(HashInterface::class);

$HashInterface->make($str);
```

使用指定Hash算法加密
============

[](#使用指定hash算法加密)

```
use Qing7777\Hash\Hash;

$str = '12345';

// Supported: "bcrypt", "argon"

$encryptedStr = Hash::driver("argon")->make($str);
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity9

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity51

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

2231d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/009e2c5bb53e2889d72ba1b9206b688ab4166705e1f64e6fd5c3cbc350d852af?d=identicon)[qing7260](/maintainers/qing7260)

---

Top Contributors

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

---

Tags

hashHyperf Hash

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/qing7777-hash/health.svg)

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

###  Alternatives

[hashids/hashids

Generate short, unique, non-sequential ids (like YouTube and Bitly) from numbers

5.5k48.6M275](/packages/hashids-hashids)[ramsey/collection

A PHP library for representing and manipulating collections.

1.2k486.0M69](/packages/ramsey-collection)[jenssegers/imagehash

Perceptual image hashing for PHP

2.1k2.2M5](/packages/jenssegers-imagehash)[cakephp/utility

CakePHP Utility classes such as Inflector, String, Hash, and Security

12027.1M63](/packages/cakephp-utility)[yzalis/identicon

Generate unique identicon avatars from any string

5901.1M21](/packages/yzalis-identicon)[lastguest/murmurhash

MurmurHash3 Hash

12910.2M52](/packages/lastguest-murmurhash)

PHPackages © 2026

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