geekish/statamic-ray
Composer 安装命令:
composer require geekish/statamic-ray
包简介
Tag & modifier for Ray in Statamic
README 文档
README
A very simple addon for Statamic 3 adding a Ray tag & modifier.
Installation
You can install the package via composer:
composer require geekish/statamic-ray
Usage
Pretty much the same as the dump tag & modifier, except output is sent to Ray.
Tag
The tag with no arguments will send the current context. Like the dump tag, it excludes possibly sensitive information like your config.
{{ ray }}
Again, like the dump tag, it can be used inside loops.
{{ entries }}
{{ dump }}
{{ /entries }}
You can also send a single variable.
{{ ray:my_variable }}
Modifier
{{ my_variable | ray }}
License
The MIT License (MIT). Please see License File for more information.
统计信息
- 总下载量: 2.25k
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 3
- 点击次数: 1
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2021-03-13