developing-with-turbo-streams

Implement Turbo Streams for real-time page updates in Laravel applications.

840|53|Updated Dec 29, 2020
One-click install
npx skills add https://github.com/hotwired-laravel/turbo-laravel --skill developing-with-turbo-streams
Or copy as Structured Prompt for Agent▼
Please help me install this Agent Skill.
Skill: developing-with-turbo-streams
Source: https://github.com/hotwired-laravel/turbo-laravel/tree/main/resources/boost/skills/developing-with-turbo-streams
Command: npx skills add https://github.com/hotwired-laravel/turbo-laravel --skill developing-with-turbo-streams

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

This skill helps developers implement Turbo Streams to update web pages in real time.

Core Features & Use Cases

  • Real-time UI updates with Turbo Streams
  • Broadcasting available for Laravel apps
  • Use case: build dynamic lists that auto-update on changes

Quick Start

Use the turbo_stream response to return real-time updates from a controller when a model changes.

Frequently Asked Questions about developing-with-turbo-streams

High-intent search queries and answers about installing and using this skill.

FAQPage Schema
How do I update Laravel Blade components in real-time after a request?▼

You can update Laravel Blade components in real-time by returning a turbo_stream response from your controller, which dynamically modifies page content after requests without a full reload.

How does broadcasting Turbo Streams work in Laravel?▼

Broadcasting Turbo Streams in Laravel works by transmitting stream actions over a real-time connection, automatically updating the web UI when a model changes on the server side.

Do I need the Turbo Laravel package to use HTTP streaming for real-time UI updates?▼

Yes, you need the Turbo Laravel package installed in your Laravel project, along with a compatible frontend setup, to render and broadcast stream actions for real-time updates.

What is the best way to build dynamic lists that auto-update on changes in Laravel?▼

The best way to build dynamic auto-updating lists in Laravel is using Turbo Streams to broadcast model changes, instantly inserting or removing list items in the real-time web UI.

Can I use Turbo Streams to dynamically modify content without writing custom JavaScript?▼

Yes, Turbo Streams allow you to dynamically modify content after requests or broadcasts directly from Laravel, eliminating the need for custom JavaScript to handle real-time updates.