https://github.com/putyourlightson/craft-datastar
A real-time, template-driven hypermedia framework for Craft CMS.
https://github.com/putyourlightson/craft-datastar
Last synced: about 2 months ago
JSON representation
A real-time, template-driven hypermedia framework for Craft CMS.
- Host: GitHub
- URL: https://github.com/putyourlightson/craft-datastar
- Owner: putyourlightson
- License: mit
- Created: 2024-11-22T08:23:25.000Z (over 1 year ago)
- Default Branch: develop
- Last Pushed: 2024-11-26T14:45:27.000Z (over 1 year ago)
- Last Synced: 2024-11-29T11:07:50.216Z (over 1 year ago)
- Language: PHP
- Size: 18.6 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Funding: .github/FUNDING.yml
- License: LICENSE.md
Awesome Lists containing this project
README
[]((https://packagist.org/packages/putyourlightson/craft-datastar))
[](https://packagist.org/packages/putyourlightson/craft-datastar)

# Datastar Plugin for Craft CMS
### A template-driven, reactive hypermedia framework for Craft CMS.
This plugin integrates the [Datastar hypermedia framework](https://data-star.dev/) with [Craft CMS](https://craftcms.com/), 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 »](https://putyourlightson.com/plugins/datastar)
## License
This plugin is licensed for free under the MIT License.
## Requirements
This plugin requires [Craft CMS](https://craftcms.com/) 5.4.0 or later.
## Installation
To install the plugin, search for “Datastar” in the Craft Plugin Store, or install manually using composer.
```shell
composer require putyourlightson/craft-datastar:^1.0.0
```
---
Created by [PutYourLightsOn](https://putyourlightson.com/).