Require the package
Composer discovers the service provider and registers the Blade components, helpers, and Artisan commands.
composer require emaia/laravel-hotwire
Search 71 components and 72 controllers by name, category or description.
Installation
Install the PHP package, let Artisan scaffold the browser stack, and keep building with the Laravel conventions already in your application.
PHP
8.3 or newer
Laravel
12 or newer
CSS
Tailwind CSS
Bundler
Vite
Composer discovers the service provider and registers the Blade components, helpers, and Artisan commands.
composer require emaia/laravel-hotwire
One command wires the browser stack into your app.
php artisan hotwire:install
The Composer development script starts Laravel, the queue worker, application logs, and Vite together.
composer dev
Paste this into any Blade view. Click Open dialog to try it: the component handles opening, keyboard dismissal, and focus without any JavaScript of your own.
<hw:modal size="sm">
<hw:modal.trigger>Open dialog</hw:modal.trigger>
<hw:modal.content>
<hw:modal.header>
<hw:modal.title>Hello, Hotwire!</hw:modal.title>
<hw:modal.description>
Your first component is working.
</hw:modal.description>
</hw:modal.header>
</hw:modal.content>
</hw:modal>
Preview
Your first component is working.
hotwire:check compares component usage, controller loading and npm
dependencies. --fix resolves the drift it finds.
php artisan hotwire:check
php artisan hotwire:check --fix
Laravel Boost
Install Boost and select emaia/laravel-hotwire when prompted. Your agent gets
guidance matched to the installed version and component prefix.
composer require laravel/boost --dev
php artisan boost:install
Agents see the active prefix and current component and controller catalog.
Forms, Turbo workflows, UI composition, and Stimulus guidance load only when relevant.
Agents use local hotwire:docs and hotwire:check instead of inventing props or configuration.
Optional. Runtime code is always split by Vite; these modes decide which third-party integrations enter the build.
# Install every catalog dependency
php artisan hotwire:install
# Keep only controllers without optional dependencies
php artisan hotwire:install --core-only
# Opt in to selected third-party integrations
php artisan hotwire:install --with-deps=carousel,chart,map
Pick the building blocks for your first screen.