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.3.0(1mo ago)5115.6k↓49.1%26MITPHPPHP ^8.2CI passing

Since Mar 30Pushed 1mo 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 2d ago

READMEChangelogDependencies (10)Versions (13)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

58

—

FairBetter than 98% of packages

Maintenance90

Actively maintained with recent releases

Popularity38

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 96.8% 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 ~207 days

Recently: every ~292 days

Total

10

Last Release

52d 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 (61 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.

6411.5M19](/packages/laravel-json-api-laravel)[cloudcreativity/laravel-json-api

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

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

Framework agnostic JSON API (jsonapi.org) implementation

7433.7M30](/packages/neomerx-json-api)[laravel-json-api/eloquent

Serialize Eloquent models as JSON:API resources.

121.5M7](/packages/laravel-json-api-eloquent)[timacdonald/json-api

A Lightweight JSON:API Resource for Laravel

6431.1M5](/packages/timacdonald-json-api)[laravel-json-api/core

Contracts and support classes for Laravel JSON:API packages.

101.7M16](/packages/laravel-json-api-core)

PHPackages © 2026

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