PHPackages                             simplygoodwork/craft-datastar-module - 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. [Framework](/categories/framework)
4. /
5. simplygoodwork/craft-datastar-module

ActiveYii-module[Framework](/categories/framework)

simplygoodwork/craft-datastar-module
====================================

A template-driven, reactive hypermedia framework for Craft.

4.0.0-beta.21(11mo ago)0637↓50%1mitPHPPHP ^8.1

Since May 19Pushed 5mo agoCompare

[ Source](https://github.com/simplygoodwork/craft-datastar-module)[ Packagist](https://packagist.org/packages/simplygoodwork/craft-datastar-module)[ GitHub Sponsors](https://github.com/bencroker)[ RSS](/packages/simplygoodwork-craft-datastar-module/feed)WikiDiscussions main-v4 Synced 1mo ago

READMEChangelog (3)Dependencies (6)Versions (6)Used By (1)

[![Stable Version](https://camo.githubusercontent.com/2a872514302481894272e71b607b4154fe74e989ef7c05f275693046fa9ffe0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707574796f75726c69676874736f6e2f63726166742d64617461737461722d6d6f64756c653f6c6162656c3d737461626c65)](https://camo.githubusercontent.com/2a872514302481894272e71b607b4154fe74e989ef7c05f275693046fa9ffe0a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f707574796f75726c69676874736f6e2f63726166742d64617461737461722d6d6f64756c653f6c6162656c3d737461626c65)[![Total Downloads](https://camo.githubusercontent.com/536994f646bbec98f24f8ba0074741b47728f1fc680d78d9601c1041aa703a72/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f707574796f75726c69676874736f6e2f63726166742d64617461737461722d6d6f64756c65)](https://packagist.org/packages/putyourlightson/craft-datastar-module)

[![](https://camo.githubusercontent.com/76abd2cbbaf52a35eaf166ba03a6b8e5bc1520a8eb0b1d843b5bf818e746970a/68747470733a2f2f707574796f75726c69676874736f6e2e636f6d2f6173736574732f6c6f676f732f64617461737461722e737667)](https://camo.githubusercontent.com/76abd2cbbaf52a35eaf166ba03a6b8e5bc1520a8eb0b1d843b5bf818e746970a/68747470733a2f2f707574796f75726c69676874736f6e2e636f6d2f6173736574732f6c6f676f732f64617461737461722e737667)

Datastar Module for Craft CMS
=============================

[](#datastar-module-for-craft-cms)

This module provides the core functionality for the [Datastar plugin](https://github.com/putyourlightson/craft-datastar). If you are developing a Craft plugin/module and would like to use Datastar in the control panel, you can require this package to give you its functionality, without requiring that the Datastar plugin is installed.

First require the package in your plugin/module’s `composer.json` file.

```
{
  "require": {
    "putyourlightson/craft-datastar-module": "^1.0.0-RC.1"
  }
}
```

Then bootstrap the module from within your plugin/module’s `init` method.

```
use craft\base\Plugin;
use putyourlightson\datastar\Datastar;

class MyPlugin extends Plugin
{
    public function init()
    {
        parent::init();

        Datastar::bootstrap();
    }
}
```

Then use the Datastar function and tags as normal in your control panel templates.

```
Search
```

Datastar plugin issues should be reported to

The Datastar plugin changelog is at

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

[](#documentation)

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

License
-------

[](#license)

This module is licensed for free under the MIT License.

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

[](#requirements)

This module requires [Craft CMS](https://craftcms.com/) 5.4.0 or later.

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

[](#installation)

Install this package via composer.

```
composer require putyourlightson/craft-datastar-module:^1.0.0-RC.1
```

---

Created by [PutYourLightsOn](https://putyourlightson.com/).

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance62

Regular maintenance activity

Popularity16

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity35

Early-stage or recently created project

 Bus Factor1

Top contributor holds 93.4% 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 ~86 days

Total

3

Last Release

174d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/ae6fa70dc9197a727ce3fbcc38b20e474279e437b5de9145dbb672857796578d?d=identicon)[simplygoodwork](/maintainers/simplygoodwork)

---

Top Contributors

[![bencroker](https://avatars.githubusercontent.com/u/57572400?v=4)](https://github.com/bencroker "bencroker (113 commits)")[![andrewmenich](https://avatars.githubusercontent.com/u/29585821?v=4)](https://github.com/andrewmenich "andrewmenich (6 commits)")[![khalwat](https://avatars.githubusercontent.com/u/7570798?v=4)](https://github.com/khalwat "khalwat (2 commits)")

### Embed Badge

![Health badge](/badges/simplygoodwork-craft-datastar-module/health.svg)

```
[![Health](https://phpackages.com/badges/simplygoodwork-craft-datastar-module/health.svg)](https://phpackages.com/packages/simplygoodwork-craft-datastar-module)
```

###  Alternatives

[craftcms/craft

Craft CMS

202304.8k2](/packages/craftcms-craft)

PHPackages © 2026

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