gale

Implement server-driven reactivity in Laravel with SSE and Alpine.js.

Updated Feb 24, 2026
One-click install
npx skills add https://github.com/dancycodes/bree --skill gale
Or copy as Structured Prompt for Agent
Please help me install this Agent Skill.
Skill: gale
Source: https://github.com/dancycodes/bree/tree/main/.cursor/skills/gale
Command: npx skills add https://github.com/dancycodes/bree --skill gale

SYSTEM DOCUMENTATION & REQUIREMENTS

What problem does it solve?

Gale enables server-driven reactivity in Laravel applications by combining Server-Sent Events (SSE) with Alpine.js to drive real-time UI updates directly from Blade templates, avoiding heavy front-end frameworks.

Core Features & Use Cases

  • Server-driven reactivity with SSE and Alpine.js that updates components in real-time without full page reloads.
  • Auto-trigger behavior when controller methods or Blade templates are created or edited, and when developers mention reactive concepts in Laravel.
  • Includes patterns for fragments, navigation, polling, file uploads, streaming, and DOM manipulation within Laravel contexts.

Quick Start

Install Gale in your Laravel project and begin annotating controllers and blades to enable server-driven reactivity.

Frequently Asked Questions about gale

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

FAQPage Schema
How do I enable server-driven reactivity in Laravel without using a heavy front-end framework?

Server-driven reactivity in Laravel is enabled by combining Server-Sent Events (SSE) with Alpine.js to push real-time UI updates directly from Blade templates. This approach avoids heavy front-end frameworks by streaming updates from the server.

Can I use Alpine.js and Blade templates to handle real-time form validation and loading states?

Yes, Alpine.js and Blade templates can handle real-time form validation and loading states through Server-Sent Events. This combination pushes UI updates from the server, enabling interactive patterns without requiring full page reloads.

What is the best way to build SPA-like experiences in Laravel using Server-Sent Events?

The best way to build SPA-like experiences in Laravel with Server-Sent Events is by annotating controllers and Blade templates. This method streams fragments, navigation, and DOM manipulations directly to Alpine.js components for real-time updates.

How do I set up real-time file uploads and streaming in Laravel Blade templates?

Real-time file uploads and streaming in Laravel Blade templates are set up by leveraging Server-Sent Events alongside Alpine.js. This configuration pushes server-side processing updates directly to the client interface as they occur.

Does server-driven reactivity with SSE support polling and component communication in Laravel?

Server-driven reactivity with SSE supports polling and component communication in Laravel by applying reactive patterns to controllers and Blade templates. This enables seamless data streaming between server and Alpine.js components.

When should I avoid using Server-Sent Events for reactivity in my Laravel application?

You should avoid using Server-Sent Events for reactivity if your Laravel application requires complex client-side state management beyond Blade templates, as this approach is designed specifically for server-driven UI updates without heavy front-end frameworks.