Encode model IDs to JSON:API resource IDs.
laravel-json-api/hashids is a Laravel package for encode model ids to json:api resource ids..
It currently has 5 GitHub stars and 123.989 downloads on Packagist (latest version v3.3.0).
Install it with composer require laravel-json-api/hashids.
Discover more Laravel packages by laravel-json-api
or browse all Laravel packages to compare alternatives.
Last updated
Encode model keys to JSON:API resource ids using vinkla/hashids. This is a plugin for Laravel JSON:API.
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.
Laravel JSON:API is open-sourced software licensed under the MIT License.