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-laravel/stimulus-laravel

Stimulus-Laravel integrates Hotwired Stimulus with Laravel, helping you register and load Stimulus controllers and attach them in Blade via data-controller attributes, adding lightweight interactive UI without a full SPA or heavy JavaScript framework.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Frontend architecture choice: whether to keep the product HTML-first (Blade + Turbo + Stimulus) instead of funding an SPA migration, Inertia/Vue rewrite, or a Livewire-first rebuild. This package is the Laravel-side glue that makes that choice cheap to execute.
  • Build vs. buy: the glue work (controller auto-registration, Blade helpers/directives, generator commands, asset plumbing) is commodity. Adopting the package converts a small internal utility into a maintained dependency — a low-cost "buy."
  • Upgrade roadmap / support matrix: release 1.5.0 adds Laravel 13.x compatibility with no new features or breaking changes to the package API. That is a green light for sequencing Laravel 13 into the platform upgrade roadmap without carving out frontend rework. Conversely, it sets an expectation that the package tracks Laravel majors — worth adding to your dependency watchlist alongside the framework upgrade.
  • Progressive-enhancement strategy: lets you scope interactive surfaces (modals, dropdowns, inline validation, filters) as isolated controllers rather than app-wide state, which directly affects sprint estimation and how much JS expertise you need on the team.
  • Ecosystem fit: most valuable if you are already on (or evaluating) turbo-laravel from the same maintainer; the pair is the coherent Hotwire story. If Turbo isn't in the picture, the value drops to "nice Blade helpers."
  • Risk register: small-maintainer, single-primary-contributor package. Treat it as a low-blast-radius dependency (server-side attribute generation and dev-time tooling, not runtime request path) and keep the escape hatch of inlining the helpers.

When to Consider This Package

Consider adopting when:

  • The product is server-rendered Blade and you want sprinkles of interactivity, not a client-side app.
  • The team is PHP-first with limited JS depth; the helpers reduce boilerplate and enforce conventions.
  • You want a conventional place for Stimulus controllers and generated markup, so frontend behavior is discoverable and reviewable in PRs.
  • You are standardizing on the Hotwire stack and want first-party-feeling integration rather than hand-rolled wiring.
  • Staying current on Laravel majors matters and you want dependencies that ship compatibility releases promptly (1.5.0 is evidence of that cadence).

Look elsewhere when:

  • You need heavy client-side state or offline behavior — reach for Livewire, Inertia + Vue/React, or a dedicated SPA.
  • You need commercial support, SLAs, or a security-response commitment — this is community-maintained.
  • Your org restricts dependencies to a vetted allowlist with a defined maintainer-count threshold.
  • You are on an older Laravel line and cannot move; verify the supported version range rather than assuming backward compatibility from a forward-compat release.
  • Alpine.js already covers your needs — the marginal value of adding a second JS convention is negative.

How to Pitch It (Stakeholders)

Executives: A small, free, community-maintained glue library that lets us build interactive UI without an SPA rewrite. It keeps delivery in Blade/PHP, so we don't need to staff or fund a separate frontend application, and it keeps our Laravel upgrade path open — the latest release adds Laravel 13 support.

Engineering: Thin integration layer for Stimulus on Laravel — controller registration, Blade helpers/directives, and generator commands — so we stop hand-maintaining the wiring. 1.5.0 is a compatibility-only release: Laravel 13.x support, no API changes, no deprecations, so bumping is low risk. The dependency sits in our build/dev tooling and view layer, not the request path, so failure modes are contained and reversible. Pair it with turbo-laravel if we go all-in on Hotwire; otherwise scope it to isolated interactive components. Main caveat is maintainer concentration — pin the version, review upgrades in a branch, and keep the option of inlining the helpers if the package goes stale.

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.
socialdept/atp-orm
cboxdk/laravel-assistant-client
socialdept/atp-resolver
socialdept/tenant-domains
tautvydasr/blade-class-names
socialdept/color-scales
maherelgamil/controller
coleus/widgets
coleus/table
coleus/users
coleus/music
coleus/health
coleus/calendar
coleus/notes
coleus/support
coleus/settings
coleus/apps
seampact/laravel
emmyconceptng/laravel-ng-postcode
jjsquady/round-robin