lattice-php/
lattice
g4t.io

Lattice: Describe Inertia UIs in PHP

20 views 63 stars by Paul Redmond

Server Driven UI with Laravel & React

laravel react ui ui-integration
README from lattice-php/lattice Open on GitHub →

Lattice lets you describe your interface — pages, forms, tables, actions, and menus — in PHP on the server and render it with real React components on the client over Inertia. You keep building the way you already do in Laravel, while your users get a polished React front end, with no hand-wired API and no UI contract duplicated across two languages.

Installation

composer require lattice-php/lattice
npm install @lattice-php/lattice

See Installation for the full setup. No Node toolchain? Lattice also ships prebuilt assets — publish them with php artisan lattice:assets and skip the npm step entirely; see No-build setup.

Documentation

Full documentation, guides, and examples live at latticephp.com.

Generating types for custom wire classes

If you define your own Lattice components, fields, columns, filters, or effects in PHP, regenerate the matching TypeScript so the React side stays in lockstep:

php artisan lattice:typescript

Projects that use only Lattice's bundled components never need this — the command detects it and no-ops. Generating custom types requires the dev dependency spatie/laravel-typescript-transformer.

License

The MIT License (MIT). See LICENSE.md for details.

More from the ecosystem

durable-workflow/
workflow
g4t.io
9 1,292

Durable Workflow: Long-Running Workflows for Laravel

Embedded durable workflow runtime and orchestration engine for Laravel applications.

durable-workflow/workflow via Laravel News
packstub/
session-replay
g4t.io
14 52

Session Replay for Laravel: Self-Hosted Browser Recordings

Session replay for Laravel: record what a person did in the browser with rrweb, keep the recording on your own disk and database, and watch it behind a gate you define — masked inputs by default, errors, failed Livewire requests and web vitals marked on the timeline, a link to the replay in every log line. packstub/filament-session-replay adds the sessions to a Filament panel.

packstub/session-replay via Laravel News
cyberwizard-dev/
schedule-catchup
g4t.io
17

Replay Missed Laravel Scheduled Tasks With Schedule Catchup

Schedule Catchup replays missed Laravel scheduled tasks after downtime, with opt-in recovery, bounded retries, and access to the original scheduled date.

cyberwizard-dev/schedule-catchup via Laravel News