larva/think-hashids

A Hashids bridge for ThinkPHP

1.0.4 2021-07-24 07:40 UTC

This package is auto-updated.

Last update: 2024-02-24 13:13:35 UTC


README

适用于 ThinkPHP 6 的 HashID 扩展.

Packagist Total Downloads

安装

composer require larva/think-hashids -vv

配置

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

使用

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