PHPackages                             laravel-json-api/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. [API Development](/categories/api)
4. /
5. laravel-json-api/hashids

ActiveLibrary[API Development](/categories/api)

laravel-json-api/hashids
========================

Encode model IDs to JSON:API resource IDs.

v3.2.0(1y ago)498.5k—0.9%26MITPHPPHP ^8.2CI passing

Since Mar 30Pushed 1y ago1 watchersCompare

[ Source](https://github.com/laravel-json-api/hashids)[ Packagist](https://packagist.org/packages/laravel-json-api/hashids)[ Docs](https://github.com/laravel-json-api/hashids)[ RSS](/packages/laravel-json-api-hashids/feed)WikiDiscussions develop Synced 1mo ago

READMEChangelogDependencies (5)Versions (11)Used By (6)

laravel-json-api/hashids
========================

[](#laravel-json-apihashids)

Encode model keys to JSON:API resource ids using [vinkla/hashids](https://github.com/vinkla/laravel-hashids). This is a plugin for [Laravel JSON:API](https://laraveljsonapi.io).

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

[](#installation)

Install using [Composer](https://getcomposer.org)

```
composer require laravel-json-api/hashids
```

This will also install [vinkla/hashids](https://github.com/vinkla/laravel-hashids). After installing, you will need to publish the configuration for that package:

```
php artisan vendor:publish --provider="Vinkla\Hashids\HashidsServiceProvider"
```

Refer to the [README](https://github.com/vinkla/laravel-hashids/blob/master/README.md) in that package for more configuration information.

License
-------

[](#license)

Laravel JSON:API is open-sourced software licensed under the [MIT License](./LICENSE).

###  Health Score

46

—

FairBetter than 93% of packages

Maintenance44

Moderate activity, may be stable

Popularity37

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity71

Established project with proven stability

 Bus Factor1

Top contributor holds 96.6% 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 ~179 days

Recently: every ~279 days

Total

9

Last Release

441d ago

Major Versions

v1.1.0 → v2.0.02023-02-27

v2.0.0 → v3.0.02024-03-28

PHP version history (3 changes)v1.0.0-beta.1PHP ^7.4|^8.0

v2.0.0PHP ^8.1

v3.0.0PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/ca1ed60931eb66b875b4bad2b1a8a5093c14d5225cf72c3d6c3fd403982ec7cf?d=identicon)[lindyhopchris](/maintainers/lindyhopchris)

---

Top Contributors

[![lindyhopchris](https://avatars.githubusercontent.com/u/4464333?v=4)](https://github.com/lindyhopchris "lindyhopchris (57 commits)")[![Westie](https://avatars.githubusercontent.com/u/117472?v=4)](https://github.com/Westie "Westie (1 commits)")[![X-Coder264](https://avatars.githubusercontent.com/u/12602463?v=4)](https://github.com/X-Coder264 "X-Coder264 (1 commits)")

---

Tags

laraveljsonapiJSON-APIjsonapi.org

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/laravel-json-api-hashids/health.svg)

```
[![Health](https://phpackages.com/badges/laravel-json-api-hashids/health.svg)](https://phpackages.com/packages/laravel-json-api-hashids)
```

###  Alternatives

[laravel-json-api/laravel

JSON:API for Laravel applications.

6371.4M15](/packages/laravel-json-api-laravel)[cloudcreativity/laravel-json-api

JSON API (jsonapi.org) support for Laravel applications.

7881.1M5](/packages/cloudcreativity-laravel-json-api)[neomerx/json-api

Framework agnostic JSON API (jsonapi.org) implementation

7373.6M27](/packages/neomerx-json-api)[timacdonald/json-api

A Lightweight JSON:API Resource for Laravel

639892.5k2](/packages/timacdonald-json-api)[laravel-json-api/eloquent

Serialize Eloquent models as JSON:API resources.

121.4M4](/packages/laravel-json-api-eloquent)[laravel-json-api/core

Contracts and support classes for Laravel JSON:API packages.

101.5M8](/packages/laravel-json-api-core)

PHPackages © 2026

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