定制 putyourlightson/craft-sprig 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

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

putyourlightson/craft-sprig

最新稳定版本:3.7.1

Composer 安装命令:

composer require putyourlightson/craft-sprig

包简介

A reactive Twig component framework for Craft.

README 文档

README

Stable Version Total Downloads

Sprig Plugin for Craft CMS

A reactive Twig component framework for Craft CMS.

Sprig is a free plugin for Craft CMS that allows you to create reactive components from Twig templates and/or PHP classes. These components can re-render themselves on user-triggered events (clicks, changes to input fields, form submissions, etc.) using AJAX requests, without requiring you to write a single line of JavaScript.

Sprig enables common use-cases such as the following while completely avoiding full page refreshes:

  • Live searching
  • Loading more elements (with a button or infinite scroll)
  • Pagination, ordering and filtering elements
  • Adding products to a cart
  • Submitting forms

Demo

Documentation

Learn more and read the documentation at putyourlightson.com/plugins/sprig »

To see working examples and video tutorials, visit the learning resources.

License

This plugin is licensed for free under the MIT License.

Requirements

This plugin requires Craft CMS 3.1.19 or later, or 4.0.0 or later, or 5.0.0 or later.

Installation

To install the plugin, search for “Sprig” in the Craft Plugin Store, or install manually using composer.

composer require putyourlightson/craft-sprig

Created by PutYourLightsOn.

统计信息

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

GitHub 信息

  • Stars: 133
  • Watchers: 2
  • Forks: 9
  • 开发语言: JavaScript

其他信息

  • 授权协议: mit
  • 更新时间: 2026-01-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固