cavellblood/craft-string-base64
最新稳定版本:1.0.1
Composer 安装命令:
composer require cavellblood/craft-string-base64
包简介
Twig filters to base64 encode/decode a string.
README 文档
README
Twig filters to base64 encode/decode a string.
Requirements
This plugin requires Craft CMS 3.1.0 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 cavellblood/string-base64 -
In the Control Panel, go to Settings → Plugins and click the “Install” button for String Base64.
Using String Base64
Encoding
Input:
{{ "some string" | base64enc }}
Output:
c29tZSBzdHJpbmc=
Decoding
Input:
{{ "c29tZSBzdHJpbmc=" | base64dec }}
Output:
some string
Brought to you by Cavell L. Blood
统计信息
- 总下载量: 13.89k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 0
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2019-04-08