PHPackages                             putyourlightson/craft-sprig - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Templating &amp; Views](/categories/templating)
4. /
5. putyourlightson/craft-sprig

ActiveCraft-plugin[Templating &amp; Views](/categories/templating)

putyourlightson/craft-sprig
===========================

A reactive Twig component framework for Craft.

3.7.2(4mo ago)130323.7k↓60.9%912mitJavaScriptPHP ^8.2CI passing

Since Jun 15Pushed 4mo ago2 watchersCompare

[ Source](https://github.com/putyourlightson/craft-sprig)[ Packagist](https://packagist.org/packages/putyourlightson/craft-sprig)[ GitHub Sponsors](https://github.com/bencroker)[ RSS](/packages/putyourlightson-craft-sprig/feed)WikiDiscussions develop Synced 3d ago

READMEChangelog (10)Dependencies (6)Versions (110)Used By (12)Security (1)

[![Stable Version](https://camo.githubusercontent.com/7666e868a08e82a83c1930f8fb786d52a454b80763fa17338b9c1b4f2e4f15b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707574796f75726c69676874736f6e2f63726166742d73707269673f6c6162656c3d737461626c65)](https://camo.githubusercontent.com/7666e868a08e82a83c1930f8fb786d52a454b80763fa17338b9c1b4f2e4f15b5/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707574796f75726c69676874736f6e2f63726166742d73707269673f6c6162656c3d737461626c65)[![Total Downloads](https://camo.githubusercontent.com/3dd4e0ddde6d542e7f3cff74b8a858648093c3934146a489a778cbf353816540/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707574796f75726c69676874736f6e2f63726166742d7370726967)](https://packagist.org/packages/putyourlightson/craft-sprig)

[![](https://raw.githubusercontent.com/putyourlightson/craft-sprig/develop/src/icon.svg)](https://raw.githubusercontent.com/putyourlightson/craft-sprig/develop/src/icon.svg)

Sprig Plugin for Craft CMS
==========================

[](#sprig-plugin-for-craft-cms)

### A reactive Twig component framework for Craft CMS.

[](#a-reactive-twig-component-framework-for-craft-cms)

Sprig is a free plugin for [Craft CMS](https://craftcms.com/) 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](https://camo.githubusercontent.com/6b0ab133c7360c6a4427c3668c5955b3e5189d4a4578fac520c0c0302a38a87b/68747470733a2f2f707574796f75726c69676874736f6e2e636f6d2f6173736574732f696d616765732f706c7567696e732f73707269672f7365617263682d64656d6f2e676966)](https://camo.githubusercontent.com/6b0ab133c7360c6a4427c3668c5955b3e5189d4a4578fac520c0c0302a38a87b/68747470733a2f2f707574796f75726c69676874736f6e2e636f6d2f6173736574732f696d616765732f706c7567696e732f73707269672f7365617263682d64656d6f2e676966)

Documentation
-------------

[](#documentation)

Learn more and read the documentation at [putyourlightson.com/plugins/sprig »](https://putyourlightson.com/plugins/sprig)

To see working examples and video tutorials, visit the [learning resources](https://putyourlightson.com/sprig).

License
-------

[](#license)

This plugin is licensed for free under the MIT License.

Requirements
------------

[](#requirements)

This plugin requires [Craft CMS](https://craftcms.com/) 3.1.19 or later, or 4.0.0 or later, or 5.0.0 or later.

Installation
------------

[](#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](https://putyourlightson.com/).

###  Health Score

63

—

FairBetter than 99% of packages

Maintenance75

Regular maintenance activity

Popularity50

Moderate usage in the ecosystem

Community28

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 81.3% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~19 days

Recently: every ~39 days

Total

109

Last Release

136d ago

Major Versions

2.13.1 → 3.5.22025-01-19

2.14.0 → 3.6.12025-04-16

2.14.1 → 3.7.02025-08-09

2.15.0 → 3.7.12025-09-14

2.15.1 → 3.7.22026-02-17

PHP version history (4 changes)2.0.0-beta.1PHP ^8.0.2

1.12.3PHP ^7.1

1.12.4PHP &gt;=7.1

3.0.0-beta.1PHP ^8.2

### Community

Maintainers

![](https://www.gravatar.com/avatar/59428c6783d02d74c8778d9953ba84c35d3877ece53f5eb393689c052a9c97e4?d=identicon)[putyourlightson](/maintainers/putyourlightson)

---

Top Contributors

[![bencroker](https://avatars.githubusercontent.com/u/57572400?v=4)](https://github.com/bencroker "bencroker (204 commits)")[![khalwat](https://avatars.githubusercontent.com/u/7570798?v=4)](https://github.com/khalwat "khalwat (41 commits)")[![nfourtythree](https://avatars.githubusercontent.com/u/266453?v=4)](https://github.com/nfourtythree "nfourtythree (3 commits)")[![dubcanada](https://avatars.githubusercontent.com/u/120325?v=4)](https://github.com/dubcanada "dubcanada (1 commits)")[![lindseydiloreto](https://avatars.githubusercontent.com/u/5309692?v=4)](https://github.com/lindseydiloreto "lindseydiloreto (1 commits)")[![ryanirelan](https://avatars.githubusercontent.com/u/2238?v=4)](https://github.com/ryanirelan "ryanirelan (1 commits)")

---

Tags

ajaxcomponentscraft-plugincraftcmsreactivetwig

### Embed Badge

![Health badge](/badges/putyourlightson-craft-sprig/health.svg)

```
[![Health](https://phpackages.com/badges/putyourlightson-craft-sprig/health.svg)](https://phpackages.com/packages/putyourlightson-craft-sprig)
```

###  Alternatives

[putyourlightson/craft-blitz

Intelligent static page caching for creating lightning-fast sites.

155484.7k37](/packages/putyourlightson-craft-blitz)[nystudio107/craft-seomatic

SEOmatic facilitates modern SEO best practices &amp; implementation for Craft CMS 5. It is a turnkey SEO system that is comprehensive, powerful, and flexible.

1741.5M61](/packages/nystudio107-craft-seomatic)[spicyweb/craft-neo

A Matrix-like field type with block hierarchy

393813.5k10](/packages/spicyweb-craft-neo)[wbrowar/guide

A CMS Guide for Craft CMS.

6154.7k1](/packages/wbrowar-guide)[craftcms/ckeditor

Edit rich text content in Craft CMS using CKEditor.

47406.9k77](/packages/craftcms-ckeditor)[verbb/vizy

A flexible visual editor field for Craft.

4250.4k](/packages/verbb-vizy)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
