larva/think-hashing

The ThinkPHP Hashing package.

1.0.2 2021-08-17 06:09 UTC

This package is auto-updated.

Last update: 2024-02-17 18:46:19 UTC


README

适用于 ThinkPHP 6 的 hashing 扩展.

Packagist Total Downloads

安装

composer require larva/think-hashing -vv

配置

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

使用

$hashedValue = \Larva\Hashing\Hash::make('abv');
\Larva\Hashing\Hash::check('abv', $hashedValue);