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

Laravel Hotwire Laravel Package

emaia/laravel-hotwire

Laravel Hotwire brings Turbo and Stimulus to your Laravel app, trimming JavaScript while keeping pages fast and reactive. Integrates seamlessly with Blade, delivering SPA-like navigation with minimal setup.

View on GitHub
Deep Wiki
Context7

Technical Evaluation

  • Architecture fit: Laravel package for Blade-first Hotwire/Turbo/Stimulus applications, with hw: components, selective CSS preset bundles, Artisan diagnostics, and now a stronger overlay-host model for Modal, Sheet, and Drawer workflows. 0.83.0 adds reusable overlay hosts with multiple independent/nested openings, per-opening presentation, server-driven open/returnFromOverlay/closeOverlay responses, contextual returns via <hw:overlay-return>, instance-scoped closing, and optional error-focus on <hw:form>. Fits Laravel monoliths and Blade-heavy Hotwire apps with complex form/dialog flows; less relevant for API-only or non-Hotwire frontends.
  • Integration feasibility: Composer-based install and Blade component usage remain core. The new overlay response APIs are composable with Turbo Frames, updates, and toasts, and allow application-owned fragments instead of a package-managed renderer. Migration requires adopting $request->overlayOrigin() for frame-backed openings, explicit origin:/source: context for stream openings, and replacement of removed modal-auto-close patterns with closeOverlay(). Published controller copies must be removed and assets rebuilt.
  • Technical risk: Pre-1.0 versioning means minor releases can carry breaking behavior. 0.83.0 explicitly removes modal-auto-close, changes frame-backed overlay instance IDs, requires origin: for child stream openings and source: when a fragment contains a form, and drops support for host:, result:, and package-managed return renderers. Existing overlays, custom published controllers, and auto-close marker appends are the primary breakage surface. Focus and autofocus changes need regression coverage. The Tiptap dependency group moves to 3.32.0, adding a frontend dependency validation point.
  • Key questions: Which Laravel/PHP versions are supported? Is there migration tooling or linting for modal-auto-close removal? How are existing host:/result: overlay returns detected and migrated? Are published controller copies detected by diagnostics? How should teams guard overlayOrigin() returning null for actions that also serve page requests? Do nested overlays and browser back/forward behave predictably? What accessibility guarantees exist for focus return, error-focus, and delayed Rich Text initialization? Can asset rebuilds and overlay migrations run safely in CI? Does Tiptap 3.32.0 introduce editor regressions?

Integration Approach

  • Stack fit: Best suited to Laravel + Hotwire apps using Blade, Turbo, and Stimulus. Overlays are server-rendered and composable with Turbo Frames, reducing custom JavaScript and CSP surface. Video embeds remain server-rendered with third-party iframe loading; selective CSS presets still align with component-driven delivery. The new overlay model is especially valuable for form-heavy workflows, nested dialogs, and validation-heavy UI.
  • Migration path: Update to 0.83.0 in an isolated branch and review the frame-backed overlay upgrade guide first. Inventory all Modal/Sheet/Drawer usage, modal-auto-close markers, published controller copies, and custom return renderers. Replace auto-close marker appends with closeOverlay(), remove published controller copies, rebuild assets, migrate stream openings to explicit origin:/source:, and use $request->overlayOrigin() with null guards. Replace host:/result:/package-managed returns with returnFromOverlay($origin, $content) or native Turbo Frames. Run hotwire:check --fix where applicable, inspect diffs, and validate Blade hw: tags in PHP strings, heredocs, and attributes.
  • Compatibility: Confirm Laravel/PHP constraints, asset pipeline assumptions (Vite/Tailwind), Turbo version, and Tiptap 3.32.0 compatibility. Validate overlay props for per-opening size/side, nested workflows, contextual returns, error-focus, and autofocus fallback to Dropdown/Popover triggers. Check CSP rules for video iframes and any overlay/Turbo stream behavior. Regression-test the Sidebar click fix and existing bundle presets.
  • Sequencing: 1) dependency update and full test suite; 2) overlay inventory and upgrade-guide review; 3) migrate modal-auto-close and removed return-renderer patterns; 4) update stream openings and overlayOrigin() usage; 5) rebuild assets and remove published controller copies; 6) validate focus, validation, nested overlays, and Turbo refresh behavior in staging; 7) production rollout with rollback plan.

Operational Impact

  • Maintenance: Pre-1.0 package requires active release tracking. Overlay response semantics are now a version-controlled integration surface, alongside bundle plans. Teams must track removed APIs, published controller copies, asset rebuilds, and Tiptap dependency updates. Document overlay patterns, origin/source requirements, and focus behavior.
  • Support: Instance-scoped closing and late-response safety should reduce hard-to-debug overlay state issues. error-focus and improved focus return reduce accessibility/support burden. However, package appears community-supported; plan for internal ownership. Maintain migration notes for modal-auto-close, overlayOrigin(), and contextual returns.
  • Scaling: Server-driven overlays avoid custom client-side renderers and support nested/independent workflows, but multiple overlay instances increase DOM/state complexity. Third-party iframe loading still affects performance; use lazy loading and privacy mode where appropriate. Selective CSS bundles can lower payload but require disciplined preset curation.
  • Failure modes: Missing modal-auto-close migration causes overlays not to close as expected. Stale published controllers or un rebuilt assets can preserve old behavior. Stream openings without origin:/source: fail. overlayOrigin() may be null for page requests. Replaced return destinations fail safely but may leave missing content. Focus edge cases remain possible with delayed Rich Text initialization. Tiptap 3.32.0 may introduce editor regressions. Unsupported video providers still fall back to a link.
  • Ramp-up: Team needs familiarity with Hotwire, Blade component conventions, Turbo Frames, overlay response recipes, and Artisan bundle workflows. A short spike is warranted for overlay migration, nested workflows, and focus/accessibility validation. Expect moderate effort for 0.83.0 due to breaking overlay changes, with higher effort if many existing dialogs or custom return renderers must be reconciled.
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.
jinas/dhivatar
store-doc/laravel-storage-driver
plus-it/laravel-translation-manager
diephp/perhaps
diephp/telegraph
osmaviation/spreadsheet
microsoft/fluentui-system-icons
mmccook/php-json-canonicalization-scheme
middlewares/firewall
qubiqx/montapacking
nyoncode/laravel-package-console
pnscripts/filament-broadquill-lite
pnscripts/laravel-sentfold-lite
vleap/mx-sdk-laravel-internal
twidpay/utils
htetmyathlaing/scout-elasticsearch-driver
artisan-toolbox/front-awesome
ls/client-assistant
users-au/laravel-client
cgv/localized-resource