webographen/statamic-dynamic-token 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

webographen/statamic-dynamic-token

最新稳定版本:v1.0.0

Composer 安装命令:

composer require webographen/statamic-dynamic-token

包简介

Dynamic tokens for statically cached forms in Statamic v3

README 文档

README

Statamic 3.0+

Allows you to use standard Statamic v3 forms while also leveraging static caching.

Requirements

  • Statamic v3

Installation

From your site folder, run composer require webographen/statamic-dynamic-token

Usage

Add the {{ dynamic_token }} tag to the view, so it appears on the same page as your form.

The inserted JS adds tokens to all forms that have an input with name="_token".

Tokens are refreshed every 15 minutes to prevent time-out.

Credit

This feature was originally developed by Rob de Kort as part of the Peak Statamic Starter Kit.

统计信息

  • 总下载量: 6.01k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-03-12