PHPackages                             larva/think-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. larva/think-hashids

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

larva/think-hashids
===================

A Hashids bridge for ThinkPHP

1.0.4(4y ago)0261MITPHPPHP ^7.3 | ^8.0

Since Jul 22Pushed 4y agoCompare

[ Source](https://github.com/larvatecn/think-hashids)[ Packagist](https://packagist.org/packages/larva/think-hashids)[ Docs](https://www.larva.com.cn)[ RSS](/packages/larva-think-hashids/feed)WikiDiscussions master Synced 6d ago

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

think-hashids
=============

[](#think-hashids)

适用于 ThinkPHP 6 的 HashID 扩展.

[![Packagist](https://camo.githubusercontent.com/67135213e65e38bd1ed4850d9786cd66dea979f163978a2b358cd5dde8025d96/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6c617276612f7468696e6b2d686173686964732e7376673f6d61784167653d32353932303030)](https://packagist.org/packages/larva/think-hashids)[![Total Downloads](https://camo.githubusercontent.com/e6d5d78d98fd06cc5c01b449c0fb2397a10a79cf2b8f02ffbff86391ac883f71/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6c617276612f7468696e6b2d686173686964732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/larva/think-hashids)

安装
--

[](#安装)

```
composer require larva/think-hashids -vv
```

配置
--

[](#配置)

配置 'config/hashids.php' 即可。

使用
--

[](#使用)

```
\Larva\Hashids\Facades\Hashids::encode('abv');
\Larva\Hashids\Facades\Hashids::decode('abv');
```

###  Health Score

26

—

LowBetter than 43% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity60

Established project with proven stability

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

Total

5

Last Release

1759d ago

PHP version history (2 changes)1.0.0PHP ^7.3 || ^8.0

1.0.3PHP ^7.3 | ^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/534cdb651e8c806590fa945c6b5a18f361613848e890db1349f4a9fbcae1a650?d=identicon)[xutongle](/maintainers/xutongle)

---

Top Contributors

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

---

Tags

phpthinkphp

### Embed Badge

![Health badge](/badges/larva-think-hashids/health.svg)

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

###  Alternatives

[vinkla/hashids

A Hashids bridge for Laravel

2.1k13.3M73](/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)
