PHPackages                             jizhi/webman-hashids - 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. jizhi/webman-hashids

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

jizhi/webman-hashids
====================

Webman plugin jizhi/webman-hashids

v1.0.4(2y ago)015MITPHPPHP &gt;=8.0

Since May 10Pushed 2y ago1 watchersCompare

[ Source](https://github.com/sym134/jizhi-webman-hashids)[ Packagist](https://packagist.org/packages/jizhi/webman-hashids)[ RSS](/packages/jizhi-webman-hashids/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (5)Dependencies (1)Versions (6)Used By (0)

jz-webman-hashids
=================

[](#jz-webman-hashids)

 的迁移版，去除了中间件

依赖于hashids/hashids

只适用于正整数加密。

安装
--

[](#安装)

```
composer require jiaxincui/hashid
```

配置
--

[](#配置)

1. 配置文件目录:config/plugin/jizhi/webman-hashids/app.php。
2. 在.env文件添加配置项`HASH_ID_ALPHABET=your-key`。

- **为了Hash成更安全的字符串，请手动重新生成`HASH_ID_ALPHABET`，为0-9a-zA-Z共62个字符随机排序，字符不可重复，长度为16-62，可使用以下方法生成**

```
echo str_shuffle('0123456789abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ');
```

简单使用
----

[](#简单使用)

包含两个辅助方法`id_encode()`和`id_decode()`。 在项目的任何地方均可使用这两个函数对ID进行加密或解密。

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

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

5

Last Release

1094d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/501c964d23378039edf0c40caa32f7f84ecaa9c5b103b280d3412dba562f24eb?d=identicon)[sym134](/maintainers/sym134)

### Embed Badge

![Health badge](/badges/jizhi-webman-hashids/health.svg)

```
[![Health](https://phpackages.com/badges/jizhi-webman-hashids/health.svg)](https://phpackages.com/packages/jizhi-webman-hashids)
```

###  Alternatives

[vinkla/hashids

A Hashids bridge for Laravel

2.1k13.3M71](/packages/vinkla-hashids)[ashallendesign/short-url

A Laravel package for creating shortened URLs for your web apps.

1.4k1.9M4](/packages/ashallendesign-short-url)[elfsundae/laravel-hashid

A simple, elegant way to obfuscate your data by generating reversible, non-sequential, URL-safe identifiers.

415246.3k2](/packages/elfsundae-laravel-hashid)[deligoez/laravel-model-hashid

Generate, Save, and Route Stripe/Youtube-like Hash IDs for Laravel Eloquent Models

16498.0k](/packages/deligoez-laravel-model-hashid)[solspace/craft-freeform

The most flexible and user-friendly form building plugin!

52664.9k12](/packages/solspace-craft-freeform)[torann/hashids

Laravel package for Hashids

54335.1k](/packages/torann-hashids)

PHPackages © 2026

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