PHPackages                             flixtechs-labs/stimulus-extra - 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. [Templating &amp; Views](/categories/templating)
4. /
5. flixtechs-labs/stimulus-extra

ActiveLibrary[Templating &amp; Views](/categories/templating)

flixtechs-labs/stimulus-extra
=============================

The missing laravel blade helpers for turbo and stimulus

0.0.8(10mo ago)2621MITPHPPHP ^8.0

Since Feb 13Pushed 10mo agoCompare

[ Source](https://github.com/flixtechs-labs/stimulus-extras)[ Packagist](https://packagist.org/packages/flixtechs-labs/stimulus-extra)[ RSS](/packages/flixtechs-labs-stimulus-extra/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (8)Dependencies (6)Versions (10)Used By (0)

 [ ![Total Downloads](https://camo.githubusercontent.com/990f0a2c196dc760d1c3947c2fe953805a35b91e7ff85cd5ef5ec4491299d0bd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f666c697874656368732d6c6162732f747572626f2d6c61726176656c2d68656c70657273) ](https://packagist.org/packages/flixtechs-labs/stimulus-extra) [ ![Latest Stable Version](https://camo.githubusercontent.com/f7f0a1354a50ba36e4cf901b8525c30255035490718e6f4b383e0e972a6d07ea/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f666c697874656368732d6c6162732f747572626f2d6c61726176656c2d68656c70657273) ](https://packagist.org/packages/flixtechs-labs/stimulus-extra) [ ![License](https://camo.githubusercontent.com/18f8af5a9265ce4100e91ef83712d7f43ec08297cedecd1eb14aa0d26fa8194b/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f666c697874656368732d6c6162732f747572626f2d6c61726176656c2d68656c70657273) ](https://packagist.org/packages/flixtechs-labs/stimulus-extra)

Stimulus Laravel Helpers
========================

[](#stimulus-laravel-helpers)

The missing stimulus helpers for laravel blade! This package contains a bunch of helpers that pair nicely with `hotwired/stimulus-laravel` package. Inspired by Symfony UX Stimulus.

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

[](#installation)

```
  composer require flixtechs-labs/stimulus-extra
```

Usage
-----

[](#usage)

The are 3 main helpers

- `stimulus_controller(string $controller, array $values)` to add a controller
- `stimulus_action(string $controller, string $method, ?string $event)` to specifiy the action
- `stimulus_target(string $controller, string $target)` to specifiy the target

```

        Greet

```

The `stimulus_controller('say-hello')` renders a `data-controller="say-hello"` attribute. Whenever this element appears on the page, Stimulus will automatically look for and initialize a controller called `say-hello-controller.js`. Create that in your `resources/js/controllers/` directory:

```
// resources/js/controllers/say_hello_controller.js
import { Controller } from '@hotwired/stimulus';

export default class extends Controller {
    static targets = ['name', 'output']

    greet() {
      this.outputTarget.textContent = `Hello, ${this.nameTarget.value}!`
    }
}
```

### Passing Stimulus Values

[](#passing-stimulus-values)

You can pass values to your Stimulus Controller and they will be JSON serialized automatically

```
 $chartData]) }}>

```

Testing
-------

[](#testing)

```
composer test
```

License
-------

[](#license)

[MIT](https://github.com/flixtechs-labs/turbo-laravel-helpers/blob/master/LICENSE)

###  Health Score

34

—

LowBetter than 77% of packages

Maintenance55

Moderate activity, may be stable

Popularity18

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~125 days

Total

8

Last Release

304d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/858adba2e9ad707913de77ce85bec37ee60a1acbf0a2877ad8ff1c486f5c8335?d=identicon)[flixtechs-labs](/maintainers/flixtechs-labs)

---

Top Contributors

[![SlimGee](https://avatars.githubusercontent.com/u/42301835?v=4)](https://github.com/SlimGee "SlimGee (26 commits)")

---

Tags

bladehotwired-laravelstimulusjs

###  Code Quality

TestsPest

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/flixtechs-labs-stimulus-extra/health.svg)

```
[![Health](https://phpackages.com/badges/flixtechs-labs-stimulus-extra/health.svg)](https://phpackages.com/packages/flixtechs-labs-stimulus-extra)
```

###  Alternatives

[craftcms/cms

Craft CMS

3.6k3.6M2.6k](/packages/craftcms-cms)[robsontenorio/mary

Gorgeous UI components for Livewire powered by daisyUI and Tailwind

1.5k454.7k15](/packages/robsontenorio-mary)[livewire/blaze

A tool for optimizing Blade component performance by folding them into parent templates

688221.3k17](/packages/livewire-blaze)[pressbooks/pressbooks

Pressbooks is an open source book publishing tool built on a WordPress multisite platform. Pressbooks outputs books in multiple formats, including PDF, EPUB, web, and a variety of XML flavours, using a theming/templating system, driven by CSS.

44643.1k1](/packages/pressbooks-pressbooks)[rareloop/lumberjack-core

A powerful MVC framework for the modern WordPress developer. Write better, more expressive and easier to maintain code

42155.0k19](/packages/rareloop-lumberjack-core)[konekt/html

HTML and Form Builders for the Laravel Framework

24403.2k5](/packages/konekt-html)

PHPackages © 2026

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