putyourlightson / craft-spark

A real-time, template-driven hypermedia framework for Craft CMS.
Other
11 stars 0 forks source link

Stable Version Total Downloads

Spark Plugin for Craft CMS

A real-time, template-driven hypermedia framework for Craft CMS.

Spark provides an integration between Craft CMS and Datastar, a JavaScript library that combines the core functionality of Alpine JS with that of htmx. It advocates a hypermedia-first approach, meaning that you won’t find history support, JavaScript execution in responses, nor any other “bells and whistles”. This is intentional. By embracing the simplicity of hypermedia, the encapsulation of web components (natively or using Lit) and the optimised DOM operations of web browsers, you can build highly performant, hypermedia-driven web apps, without requiring a full-blown JavaScript framework.

Documentation

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

License

This plugin is licensed for free under the MIT License.

Requirements

This plugin requires Craft CMS 5.4.0 or later.

Installation

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

composer require putyourlightson/craft-spark

Created by PutYourLightsOn.