glue-agency/craft-hash
Composer 安装命令:
composer require glue-agency/craft-hash
包简介
Twig filter for hashing.
README 文档
README
Twig filter for hashing.
Requirements
This plugin requires Craft CMS 3.0.0-beta.23 or later.
Installation
To install the plugin, follow these instructions.
-
Open your terminal and go to your Craft project:
cd /path/to/project -
Then tell Composer to load the plugin:
composer require glue-agency/craft-hash -
In the Control Panel, go to Settings → Plugins and click the “Install” button for Craft-Hash.
Usage
{{ hash(String, Algorithm) }}
Stringto hash (not required, defaults torandom_int(0, getrandmax()))Algorithmto use in hashing (not required, defaults to 'md5')
More info on available algorithms, please visit: https://www.php.net/manual/en/function.hash-algos.php
统计信息
- 总下载量: 1.01k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: GPL-3.0-only
- 更新时间: 2019-09-04