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

Technical Evaluation

TPM read: Treat hotwired/stimulus-laravel as a developer-productivity/scaffolding dependency, not a platform dependency. It helps Laravel teams adopt Stimulus conventions; it does not provide production runtime infrastructure. Release 1.5.0 is a compatibility-only update (Laravel 13.x support via PR #46) — no new features, no breaking changes, but a positive signal that the package is tracking the framework upgrade cycle.

  • Architecture fit: Strong fit for Laravel Blade/Livewire applications that need progressive enhancement and small interactive behaviors. Poor fit for SPA-heavy stacks using Inertia, React, or Vue as the primary UI layer. Stimulus is intentionally a “sprinkles” layer, so the package should not be positioned as a replacement for a full frontend framework. Unchanged by 1.5.0.
  • Integration feasibility: Likely low-to-moderate effort: Composer install, Artisan installer/generators, published JS controller stubs, and Vite/npm wiring. Feasibility is high if the application already uses Vite. Older Laravel Mix or importmap-based setups may require manual adaptation. Laravel 13.x is now explicitly supported, which removes the main framework-version gating question for teams on the current release line.
  • Technical risk: Low production blast radius because the package primarily affects frontend scaffolding and developer workflow. 1.5.0 is a single-line compatibility change, so upgrade risk from 1.4.0 is minimal — but it is still a version bump, so pin-and-test discipline applies. The larger risk remains maturity: ~31 stars, 0 dependents, and a small maintainer/community surface mean limited validation, possible command/stub churn, and thin documentation. The 1.5.0 release is a second consecutive signal of active maintenance (following 1.4.0) and materially reduces — but does not eliminate — abandonment/staleness risk.
  • Key questions: Which Laravel/PHP versions are supported at the floor (13.x confirmed; are 11.x/12.x still in scope)? Which Stimulus version is pinned or expected? Does it assume Vite, importmaps, or both? How are controllers auto-registered? What files does the installer modify or overwrite? Is there test coverage for generators and install paths? Is the Laravel 13 compatibility PR backed by CI matrix coverage, or a constraint bump only? What is the release/support commitment from the Hotwired Laravel organization?

Integration Approach

  • Stack fit: Best suited to Laravel + Blade + Vite + Stimulus, optionally alongside Turbo or Livewire. It can coexist with Alpine or existing jQuery, but teams should define when to use Stimulus versus existing tools to avoid UI-layer sprawl. Laravel 13.x is now a supported target, making this a viable choice for greenfield work on the current framework line.
  • Migration path: Pilot on one low-risk UI feature rather than a broad frontend migration. Install on a branch, generate one controller, verify the Vite build, and confirm production asset compilation before expanding. For teams already on 1.4.0, the 1.5.0 bump is a low-drama patch-style upgrade — take it as part of a routine dependency refresh, not as a separate project.
  • Compatibility: Laravel 13.x compatibility is confirmed by 1.5.0; still validate the supported PHP floor, Node/Vite versions, Stimulus version expectations, and Laravel package auto-discovery. Confirm whether the installer edits package.json, vite.config.js, or the JS entrypoint; prepare a manual fallback if those edits are opinionated. If the application is on Laravel 11/12, confirm those lines remain supported rather than assuming 1.5.0 is additive-only.
  • Sequencing: 1) composer require; 2) publish config/stubs if needed; 3) run the installer; 4) add Stimulus via npm; 5) wire the Vite entrypoint; 6) generate and register a sample controller; 7) test dev and production builds; 8) document conventions; 9) pin the package version. For existing adopters: bump to 1.5.0 in the same change window as the Laravel 13 upgrade, re-run the production build smoke test, and diff any regenerated stubs.

Operational Impact

  • Maintenance: The package is thin, so ongoing code maintenance should be modest. 1.5.0 shows the maintainer responding to framework releases, which lowers the odds of the team needing to fork stubs for compatibility. However, low adoption still means the team may need to own fixes if the package lags Vite or Stimulus changes. Pin versions and monitor releases; treat Laravel major upgrades as triggers to check for a matching package release first.
  • Support: MIT/community-style support only; no vendor SLA. Plan for an internal owner who understands both Laravel asset pipelines and Stimulus conventions. A compatibility PR merged by a single contributor is not a support commitment — do not read 1.5.0 as an SLA signal.
  • Scaling: Stimulus itself scales through discrete controllers, not centralized state. The package does not add meaningful runtime overhead, and 1.5.0 introduces no runtime behavior change. The real scaling concern is team convention: controller sprawl, inconsistent registration, and unclear ownership of frontend behaviors.
  • Failure modes: Installer overwrites or misconfigures JS entrypoints; controller manifest/registration drift; Vite build failures after upgrades; Stimulus/Laravel/Node version mismatch; package abandonment or stale stubs. 1.5.0 mitigates the framework-version-mismatch failure mode for Laravel 13 but does nothing for the others. Mitigate with branch-based installation, diff review, production build smoke tests, and pinned dependencies.
  • Ramp-up: Low for Laravel developers with basic JavaScript experience. Stimulus concepts—controllers, targets, values, outlets—require short onboarding, but the larger ramp is usually the Vite/asset pipeline rather than this package. No new concepts are introduced by 1.5.0, so onboarding material does not need revision.
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.
andydefer/laravel-notification
adachsoft/cli-process-tester
jhaskell13/laraflow
sebastienheyd/boilerplate-media-manager
ccast/tagixo-primix
pretendtrue/laravel-builder
sawmainek/laravel-scout-tntsearch-driver
tomshaw/laravel-calendar-table
dibakar/laravel-ownership
steadrun/laravel-monitor
labyrinthe/connect-laravel
elmogy/layan
drewdan/sentinel-client
dskripchenko/laravel-llm
fatryst/nuonuo
stevenay/myanfont
gmostafa/php-graphql-client
xeviant/paystack
snowsoft/faker
meditationsteps/blogetc