Weave Code
Weaver
Helps Laravel developers discover, compare, and choose open-source packages. See popularity, security, maintainers, and scores at a glance to make better decisions.
Feedback
Share your thoughts, report bugs, or suggest improvements.
Subject
Message

Stimulus Laravel Laravel Package

hotwired/stimulus-laravel

Stimulus Laravel brings the Hotwired Stimulus JavaScript framework to Laravel, letting you register controllers from your resources/js folder and attach behavior to Blade markup with simple data attributes—no extra wiring required.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Frontend architecture choice: Helps evaluate whether a Laravel app should use an HTML-first, progressive-enhancement approach with Stimulus rather than reaching for a full SPA framework or heavier reactivity layer.
  • Build vs. buy: The package is a thin integration layer, not a framework. Buying is cheap and MIT-licensed, but building equivalent glue in-house is also feasible if the package stalls. The 1.5.0 Laravel 13 compatibility release is a positive signal that the maintainer is tracking upstream framework releases, which nudges the buy case slightly.
  • Roadmap sequencing: Supports a small pilot for Blade-rendered apps that need reusable interactive behaviors — modals, dropdowns, form enhancements, filters, optimistic UI fragments — without committing to Livewire, Inertia, Vue, or React for those surfaces. Laravel 13 support means a pilot can be scoped against the current or next LTS track without carrying a known compatibility gap.
  • Use-case fit: Strongest for teams already familiar with Hotwire/Stimulus, agencies maintaining server-rendered Laravel apps, or Rails-to-Laravel migrations that want continuity in frontend conventions.
  • Risk decision: With 31 stars, 0 dependents, and a recent release, this remains an experiment-grade dependency, not a platform bet. The 1.5.0 release is a single-purpose compatibility patch — it confirms the package is not abandoned but does not materially change adoption risk. It should inform a scoped pilot decision, not a company-wide frontend standard.

When to Consider This Package

Consider it when:

  • Your team already knows Stimulus or comes from a Rails/Hotwire background.
  • You want small, reusable JavaScript behaviors attached via data attributes in Blade templates.
  • You are deliberately avoiding a full SPA and want lighter interactivity than Livewire or Inertia.
  • You are on, or planning to move to, Laravel 13 — 1.5.0 explicitly adds 13.x compatibility, removing a version-support blocker that would otherwise have forced a fork or pin.
  • You can tolerate low adoption and are willing to vendor or fork the package if maintenance slows.
  • You have verified Vite/asset integration, test coverage, and documentation quality. Laravel version compatibility is now confirmed through 13.x, but confirm the exact constraint in composer.json if you run a mixed or older Laravel fleet.
  • The package removes real glue-code friction — for example, controller registration or Blade integration — rather than just adding another dependency.

Look elsewhere when:

  • You need rich client-side state, real-time updates, or complex dashboards: prefer Livewire, Inertia with Vue/React, or a dedicated SPA.
  • You want the most battle-tested Laravel frontend path: Alpine.js plus Livewire has broader ecosystem support.
  • You require vendor support, SLAs, high dependents, or security-critical maintenance guarantees.
  • Your team lacks Stimulus experience and would incur a new paradigm cost for limited benefit.
  • You are pinned to an older Laravel version and need to confirm 1.5.0 did not raise the minimum — check whether the new compatibility release dropped support for versions you still run.
  • The package does not solve asset bundling, Turbo integration, or your specific Blade/component needs.
  • You are standardizing across many teams and need a dependency with stronger adoption signals.

How to Pitch It (Stakeholders)

To executives: This is a low-cost, low-risk experiment to validate an HTML-first interactivity approach in Laravel. It is MIT-licensed, has no license fees, and is a small integration layer rather than a platform commitment. The recent 1.5.0 release adds Laravel 13 compatibility, which tells us the maintainer is keeping pace with the framework and that the package won't block an upgrade cycle. The upside is faster delivery of small interactive UI features with less JavaScript boilerplate; the downside remains adoption risk — the package is still tiny by ecosystem standards — so we should pilot it on a non-critical surface and measure developer velocity, bundle impact, and maintenance cost before broader use. It is not a candidate for company-wide standardization yet.

To engineering: Treat this as a convenience wrapper for using Stimulus controllers in Blade/Laravel, not as a framework. Release 1.5.0 is a single, narrow change: Laravel 13.x compatibility (PR #46). No new features, no deprecations, no breaking API changes called out. That is a maintenance-health signal rather than a capability upgrade — it means the package is still being tracked against upstream, but adoption is still minimal (31 stars, no dependents), so we remain the primary risk holders. Recommended path: verify the composer.json version constraint to confirm both your current Laravel version and 13.x are covered, then run a time-boxed pilot on one or two components, compare against Alpine.js/Livewire for the same use case, and keep an in-house fallback ready — the surface area is small enough that forking is realistic. Success criteria: measurable reduction in frontend glue code, acceptable bundle size, no maintenance surprises, and clear developer ergonomics.

Weaver

How can I help you explore Laravel packages today?

Conversation history is not saved when not logged in.
Prompt
Add packages to context
No packages found.
se7enxweb/flysystem
lampwick/laravel
jeslage/statamic-emojis
micahdshackelford/rmap-laravel
draftsmaninc/draftsman
square-bit/laravel-volition
himito/laravel-mailman
htinlynn/genius-helper
maco-studios/hephaestus
elmogy/larafast
xeviant/laravel-paystack
gorilladash/laravel-website-sdk
martialbe/flysystem-oss
chondal/3312client
jeroen-g/flickr
opscale-co/nova-genbi
itsjustvita/laravel-retention
tequilarapido/trackit
gregsphotography/site-builder-filament
cabaoctavio/laravel-query-log