PHPackages                             putyourlightson/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. putyourlightson/craft-datastar-module

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

putyourlightson/craft-datastar-module
=====================================

A template-driven, reactive hypermedia framework for Craft.

1.0.1(1mo ago)125.3k↓51.2%54mitPHPPHP ^8.2CI passing

Since Nov 22Pushed 1mo ago1 watchersCompare

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

READMEChangelogDependencies (12)Versions (41)Used By (4)

[![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"
  }
}
```

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
```

---

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

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance90

Actively maintained with recent releases

Popularity33

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity63

Established project with proven stability

 Bus Factor1

Top contributor holds 98.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 ~13 days

Recently: every ~30 days

Total

40

Last Release

50d ago

### 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 (124 commits)")[![khalwat](https://avatars.githubusercontent.com/u/7570798?v=4)](https://github.com/khalwat "khalwat (2 commits)")

### Embed Badge

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

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

###  Alternatives

[craftcms/craft

Craft CMS

203309.0k3](/packages/craftcms-craft)[verbb/vizy

A flexible visual editor field for Craft.

4249.7k](/packages/verbb-vizy)[verbb/social-poster

Automatically post entries to social media.

918.5k](/packages/verbb-social-poster)[putyourlightson/craft-datastar

A reactive hypermedia framework for Craft.

102.5k1](/packages/putyourlightson-craft-datastar)

PHPackages © 2026

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