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

tonysm/stimulus-laravel

Stimulus Laravel brings Stimulus.js to your Laravel apps with zero-config controller registration, Blade helpers, and seamless Vite integration. Drop controllers into a folder and they auto-load, adding lightweight interactivity to server-rendered views without a full SPA.

View on GitHub
Deep Wiki
Context7

Product Decisions This Supports

  • Server-rendered interactivity vs. SPA rewrite. This package is the Laravel-side glue for Stimulus: Blade helpers (stimulus_controller(), stimulus_target(), stimulus_action()), Artisan generators (stimulus:controller, stimulus:manifest), and controller-manifest registration. It lets a product add interactive behavior to existing Blade views without a frontend framework migration — a direct input to the recurring "rewrite the frontend vs. enhance what we have" roadmap decision.
  • Framework strategy on the roadmap. Positions Stimulus/Stimulus-adjacent patterns (Hotwire/Turbo) as a first-class option in the stack decision, alongside Livewire and Inertia + Vue/React. The release history now shows Laravel 13.x support, which matters when planning an upgrade cycle: this dependency will not be the thing that blocks a Laravel major upgrade.
  • Build vs. buy for "small" UI features. Modals, dropdowns, tabs, live-search, form validation, character counters, and copy-to-clipboard are recurring backlog items. A ~small, opinionated glue package like this makes the "build a tiny controller" option cheap and consistent, which reduces the temptation to buy a heavyweight component library or a JS SPA framework for a handful of behaviors.
  • Technical-debt / modernization sequencing. Teams sitting on jQuery-heavy Blade views get a gradual migration path: introduce Stimulus controllers screen-by-screen, no big-bang cutover, no API layer to design.
  • Team and hiring constraints. If the hiring plan or current team is PHP-strong and JS-light, this package keeps the JS surface area deliberately small and conventional — a workforce-shaped decision, not just a technical one.
  • Vendor/dependency risk posture. The project tracks upstream Laravel releases promptly (1.5.0 is a compatibility release for Laravel 13.x), which is a useful signal when scoring maintenance risk in a dependency register.

When to Consider This Package

Consider it when:

  • The product is primarily server-rendered Blade with islands of interactivity — not an application whose core value is complex client-side state.
  • The team wants to avoid (or defer) introducing Vue/React/Inertia, and the cost of a JS build pipeline and SPA architecture is not justified by the feature set.
  • You already use, or plan to use, Stimulus or the Hotwire/Turbo family; this package removes boilerplate and enforces conventions (manifest-based controller registration, generated scaffolds).
  • You want consistent, reviewable conventions for frontend behavior across many engineers, rather than each developer hand-rolling script tags.
  • You are planning a Laravel major-version upgrade and need dependencies with demonstrated, prompt compatibility — the 1.5.0 release is evidence of that.
  • You are modernizing legacy jQuery/vanilla-script Blade views incrementally and want a low-risk, per-screen migration path.

Look elsewhere when:

  • The roadmap requires rich client-side state, offline support, complex data grids, or heavy real-time UI — Inertia + Vue/React, or Livewire for server-driven reactivity, will fit better.
  • The product is a public-facing marketing site or content site where added JS and a build step are not worth it; plain Blade plus minimal vanilla JS may suffice.
  • The team has no Stimulus familiarity and no appetite to learn its controller/target/action conventions — the productivity gain depends on the convention being followed.
  • You need a batteries-included component library (date pickers, rich text, accessible comboboxes). This package is glue, not a component suite; you would still buy or build those.
  • Governance requires a large vendor with support contracts; this is a small, community-maintained package in the Hotwired ecosystem.

How to Pitch It (Stakeholders)

For executives (one paragraph): This is a small integration package that lets our Laravel application add interactive UI features — dropdowns, modals, live search, inline validation — directly in our existing server-rendered pages, without funding a frontend framework migration or building a separate API. It is the cheapest credible path for the class of features that dominate our backlog, and its latest release adds compatibility with the newest Laravel version, so it will not hold up our platform upgrade. Risk is low: the package is thin, the conventions are standard, and removing it later is straightforward. It is not the right foundation if our roadmap turns toward app-like, heavily client-side experiences — in that case we would revisit and likely choose a different frontend approach.

For engineering leads: Scope is deliberately narrow — Blade helpers, Artisan generators, and a controller manifest. It formalizes conventions (one controller per behavior, manifest-based registration) instead of leaving script tags scattered across layouts, which improves reviewability and testability. The 1.5.0 release is a maintenance/compatibility change only: Laravel 13.x support, no new API surface and no breaking changes, so it is a low-risk dependency bump rather than a re-architecture. Recommend pinning to a minor range, adding it to the dependency register, and treating the upgrade as routine. Evaluate against Livewire and Inertia on a sample feature before committing to a broader frontend direction, and confirm the team is comfortable with Stimulus conventions before rollout.

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.
laravel2580/idehelpers
delatbabel/viewpages
anavel/gettext
muhamadrezaar/highcharts
delatbabel/keylists
frankkessler/salesforce-laravel-oauth2-rest
anavel/foundation
wdmtech/enviricons
eii/laravel-captcha
muka/shape-reader
tdt/json
refinery29/php-cs-fixer-config
hotmeteor/eco-env
mvaliolahi/hydrate
wearede/tbcpay-php
parsnick/steak
thibaud-dauce/mattermost-php
multilinguals/apollo-client
antaresbr/collection
kr0lik/phpstan-rules