laravel-hotwire-turbo maintained by emaia
Last update
2026/04/13 23:25
License
Require
- php ^8.2
- spatie/laravel-package-tools ^1.16
- illuminate/view *
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
Last update
2026/04/13 23:12
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/13 21:43
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/13 21:10
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/13 03:26
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/13 03:17
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/13 03:11
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/13 03:07
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/13 03:04
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/11 23:44
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/11 19:47
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/11 19:31
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/05 13:58
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/05 03:28
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/05 03:11
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/05 02:52
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/04 23:52
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/04/02 22:14
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/03/18 00:37
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2026/03/18 00:03
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0|^13.0
- illuminate/support ^10.0|^11.0|^12.0|^13.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2025/02/25 03:18
License
Require
- php ^8.2
- illuminate/http ^10.0|^11.0|^12.0
- illuminate/support ^10.0|^11.0|^12.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2025/02/24 15:08
License
Require
- php ^8.2
- illuminate/http ^11.0
- illuminate/support ^11.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2025/02/07 19:50
License
Require
- php ^8.2
- illuminate/http ^11.0
- illuminate/support ^11.0
- illuminate/view *
- spatie/laravel-package-tools ^1.16
Last update
2025/02/07 18:51
License
Require
- php ^8.2
- illuminate/contracts ^11.0
- illuminate/view *
- ramsey/collection ^2.0
- spatie/laravel-package-tools ^1.16
- symfony/http-foundation ^7.2
Last update
2025/02/07 18:35
License
Require
- php ^8.2
- illuminate/contracts ^11.0
- illuminate/view *
- ramsey/collection ^2.0
- spatie/laravel-package-tools ^1.16
- symfony/http-foundation ^7.2
Last update
2025/02/07 18:30
License
Require
- php ^8.2
- illuminate/contracts ^11.0
- illuminate/view *
- ramsey/collection ^2.0
- spatie/laravel-package-tools ^1.16
- symfony/http-foundation ^7.2
Last update
2025/02/07 18:23
License
Require
- php ^8.2
- illuminate/contracts ^11.0
- illuminate/view *
- ramsey/collection ^2.0
- spatie/laravel-package-tools ^1.16
- symfony/http-foundation ^7.2
Hotwire Turbo with Laravel!
The purpose of this package is to facilitate the use of Turbo (Hotwire) in a Laravel app.
Installation
You can install the package via composer:
composer require emaia/laravel-hotwire-turbo
Usage
/* Some controller method... */
public function update(Request $request)
{
/* ... */
if (request()->wasFromTurboFrame('modal')) {
$streamCollection = new StreamCollection([
new Stream(
Action::PREPEND,
'flash-container',
view('components.flash-message', [
'hasSuccess' => true,
'message' => $successMessage,
])
),
new Stream(
Action::UPDATE,
'modal',
''
),
]);
return response()->turboStream(
$streamCollection
);
}
return redirect()->back()->with('success', $successMessage);
}
Testing
composer test
Changelog
Please see CHANGELOG for more information on what has changed recently.
Contributing
Please see CONTRIBUTING for details.
Security Vulnerabilities
Please review our security policy on how to report security vulnerabilities.
Credits
License
The MIT License (MIT). Please see License File for more information.