Search by

rsc-kit / laravel-starter-kit

ramonmalcolm10

Laravel's React starter kit on React Server Components: auth, settings, two-factor and passkeys, rendered by rsc-kit.

Package info

github.com/rsc-kit/laravel-starter-kit

Language:TypeScript

Type:project

pkg:composer/rsc-kit/laravel-starter-kit

Statistics

Installs: 3

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v0.1.1 2026-11-27 22:40 UTC

This package is auto-updated.

Last update: 2026-11-27 22:44:47 UTC


README

Laravel's React starter kit, with its pages rendered as React Server Components by rsc-kit instead of Inertia.

Everything upstream's kit does is here: registration, login, email verification, password reset, password confirmation, two-factor authentication with recovery codes, passkeys, profile and security settings, appearance and account deletion. Fortify still does the work. The pages are files under resources/js/app, and they read from PHP with rpc().

Getting started

laravel new my-app --using=rsc-kit/laravel-starter-kit
cd my-app
composer run dev

Open the app at its own url: http://my-app.test under Herd, or http://localhost:8000 from composer run dev.

The guide is at docs.rsc-kit.dev/hosts/laravel/starter-kit.

Where things are

resources/js/app Pages, layouts and middleware.ts guards
app/Rsc What pages read: rpc('Shared.user') is App\Rsc\Shared::user()
app/Rsc/Actions What forms submit to, most of them through Fortify's own controllers
resources/js/components The shadcn/ui components, unchanged from upstream

License

MIT, as upstream's is.