Laravel HyperLaravel-Native Reactivity
Build reactive web applications with the elegance of Laravel and the power of Datastar
Build reactive web applications with the elegance of Laravel and the power of Datastar
<div @signals(['count' => 0, 'errors' => []])>
<button data-on:click="@postx('/increment')">
+
</button>
<span data-text="$count"></span>
<div data-error="count"></div>
</div>#[Route(method: 'post')]
public function increment()
{
$validated = signals()->validate([
'count' => 'required|numeric|min:0'
]);
return hyper()->signals([
'count' => signals('count') + 1
]);
} Write Blade templates, use familiar helpers like hyper() and signals(), and leverage Laravel's validation. No new paradigm—just reactive Laravel.
Your Laravel backend controls the frontend through signals and fragments. Business logic stays on the server where it's testable, secure, and maintainable.
CSRF-protected actions with @postx, seamless Laravel validation integration, and automatic error display. Security built-in, not bolted-on.
No npm, no webpack, no compilation. Add @hyper to your layout and start building reactive interfaces immediately. Deploy like any Laravel app.
Simple, powerful reactive patterns built for Laravel
Initialize reactive data directly from your Laravel backend
<div @signals(['count' => 0])>
<span data-text="$count"></span>
</div>Two-way binding between form inputs and reactive signals
<input data-bind="email" />
<p data-text="$email"></p>CSRF-protected POST requests with automatic signal transmission
<button data-on:click="@postx('/save')">
Save
</button>Conditional rendering that adds/removes elements from the DOM
<template data-if="$isVisible">
<div>Content</div>
</template>Loop through arrays to render dynamic lists efficiently
<template data-for="todo in $todos">
<div data-text="todo.title"></div>
</template>Display Laravel validation errors automatically
<input data-bind="email" />
<div data-error="email"></div>Update reactive signals from your Laravel controller
return hyper()
->signals([
'count' => $newCount
]);Define reusable view sections for partial page updates
@fragment('user-list')
<div id="users">...</div>
@endfragmentStart building modern, reactive interfaces with the simplicity of Laravel
Get Started