putyourlightson / craft-sprig
A reactive Twig component framework for Craft.
Fund package maintenance!
bencroker
Installs: 261 091
Dependents: 12
Suggesters: 0
Security: 0
Stars: 129
Watchers: 5
Forks: 9
Open Issues: 1
Language:JavaScript
Type:craft-plugin
Requires
- php: ^8.2
- craftcms/cms: ^5.0
- nystudio107/craft-code-editor: ^1.0
- putyourlightson/craft-sprig-core: ^3.5.2
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- dev-develop
- 3.5.1
- 3.5.0
- 3.4.0
- 3.3.0
- 3.2.1
- 3.2.0
- 3.1.0
- 3.1.0-beta.1
- 3.0.2
- 3.0.1
- 3.0.0
- 3.0.0-beta.2
- 3.0.0-beta.1
- 2.x-dev
- 2.13.1
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.1
- 2.10.0
- 2.9.0
- 2.9.0-beta.1
- 2.8.1
- 2.8.0
- 2.7.3
- 2.7.2
- 2.7.1
- 2.7.0
- 2.6.2
- 2.6.1
- 2.6.0
- 2.5.1
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.1
- 2.2.0
- 2.1.0
- 2.0.1
- 2.0.0
- 2.0.0-beta.1
- 2.0.0-alpha.1
- v1.x-dev
- 1.13.0
- 1.12.4
- 1.12.3
- 1.12.2
- 1.12.1
- 1.12.0
- 1.11.1
- 1.11.0
- 1.10.4
- 1.10.3
- 1.10.2
- 1.10.1
- 1.10.0
- 1.9.3
- 1.9.2
- 1.9.1
- 1.9.0
- 1.8.1
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.2
- 1.5.1
- 1.5.0
- 1.4.0
- 1.3.3
- 1.3.2
- 1.3.1
- 1.3.0
- 1.2.0
- 1.1.1
- 1.1.0
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0-beta.18.1
- 1.0.0-beta.18
- 1.0.0-beta.17
- 1.0.0-beta.16
- 1.0.0-beta.15
- 1.0.0-beta.14
- 1.0.0-beta.13
- 1.0.0-beta.12
- 1.0.0-beta.11
- 1.0.0-beta.10
- 1.0.0-beta.9
- 1.0.0-beta.8
- 1.0.0-beta.7
- 1.0.0-beta.6
- 1.0.0-beta.5
- 1.0.0-beta.4
- 1.0.0-beta.3
- 1.0.0-beta.2
- 1.0.0-beta.1
This package is auto-updated.
Last update: 2024-12-23 19:44:46 UTC
README
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
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.