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. [Utility &amp; Helpers](/categories/utility)
4. /
5. qing7777/hash

ActivePackage[Utility &amp; Helpers](/categories/utility)

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 3w ago

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 31% 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

2284d 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.4k52.1M315](/packages/hashids-hashids)[torann/hashids

Laravel package for Hashids

54343.7k](/packages/torann-hashids)[diarmuidie/niceid

PHP library to generate short, non-sequential, URL-friendly hashes of incremental IDs. Similar to YouTube (https://www.youtube.com/watch?v=dQw4w9WgXcQ) and Bitly (http://bit.ly/1D0CAzd) URLs.

1557.9k](/packages/diarmuidie-niceid)[delight-im/ids

Short, obfuscated and efficient IDs for PHP

2810.1k1](/packages/delight-im-ids)[bvdputte/kirby-fingerprint

Cache-busting utility to fingerprint assets (JS/CSS) in Kirby 3

1610.5k](/packages/bvdputte-kirby-fingerprint)[light/hashids

Hashids for Yii2

1120.8k](/packages/light-hashids)

PHPackages © 2026

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