putyourlightson / craft-datastar
A real-time, template-driven hypermedia framework for Craft.
Fund package maintenance!
bencroker
Installs: 30
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 1
Type:craft-plugin
Requires
- php: ^8.2
- craftcms/cms: ^5.0
- putyourlightson/craft-datastar-module: ^1.0.0-beta.2
Requires (Dev)
- craftcms/ecs: dev-main
- craftcms/phpstan: dev-main
- nystudio107/craft-autocomplete: ^1.12
This package is auto-updated.
Last update: 2024-12-20 13:25:57 UTC
README
Datastar Plugin for Craft CMS
A template-driven, reactive hypermedia framework for Craft CMS.
{warning} This plugin is in beta and its API may change.
This plugin integrates the Datastar hypermedia framework with Craft CMS, allowing you to create reactive front-ends driven by Twig templates. It aims to replace the need for front-end frameworks such as React, Vue.js and Alpine.js + htmx, and instead lets you manage state and use logic within your Twig templates.
Use-cases:
- Live searching elements
- Loading more elements / Infinite scroll
- Paginating, ordering and filtering lists of elements
- Submitting forms and running actions
- Pretty much anything to do with reactive front-ends
Documentation
Learn more and read the documentation at putyourlightson.com/plugins/datastar »
License
This plugin is licensed for free under the MIT License.
Requirements
This plugin requires Craft CMS 5.0.0 or later.
Installation
To install the plugin, search for “Datastar” in the Craft Plugin Store, or install manually using composer.
composer require putyourlightson/craft-datastar:^1.0.0-beta.1
Created by PutYourLightsOn.