Looking to hire Laravel developers? Try LaraJobs
This package is not available.

hashids maintained by laravel-json-api

Description
Encode model IDs to JSON:API resource IDs.
Last update
2025/03/03 21:19 (dev-develop)
License
Downloads
102 171

Comments
comments powered by Disqus

laravel-json-api/hashids

Encode model keys to JSON:API resource ids using vinkla/hashids. This is a plugin for Laravel JSON:API.

Installation

Install using Composer

composer require laravel-json-api/hashids

This will also install vinkla/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 in that package for more configuration information.

License

Laravel JSON:API is open-sourced software licensed under the MIT License.