---
title: "Lattice: Describe Inertia UIs in PHP"
url: https://daily.dev/posts/lattice-describe-inertia-uis-in-php-y3q7bvaqc
source_url: https://laravel-news.com/lattice-describe-inertia-uis-in-php
type: article
source: "Laravel News"
published: 2026-06-18T13:24:47.392Z
updated: 2026-08-24T06:55:47.930Z
tags: ["react", "php", "laravel"]
reading_time: 4
upvotes: 54
comments: 8
language: en
---

> ## Documentation Index
> Fetch the complete documentation index at: https://daily.dev/llms.txt
> Use this file to discover all available pages before exploring further.

# Lattice: Describe Inertia UIs in PHP

**[Laravel News](https://daily.dev/sources/ln)** · 4 min read · 54 upvotes · 8 comments

## Summary

Lattice is a server-driven UI framework for Laravel that lets developers define pages, forms, tables, and actions entirely in PHP, which are then serialized and rendered as typed React components via Inertia.js. Pages are PHP classes with an `#[AsPage]` attribute that auto-registers routes. Forms extend `FormDefinition` with Laravel validation rules and optional live validation via Precognition. Tables extend `EloquentTableDefinition` with declarative columns supporting sorting, filtering, and pagination. Actions return `ActionResult` objects carrying client-side effects like toasts and component reloads. The server becomes the single source of truth for UI structure, while the React client only handles rendering.

## Full article

daily.dev links to this article rather than hosting it. Read it at the original source: <https://laravel-news.com/lattice-describe-inertia-uis-in-php>

## Community discussion

Top comments from developers on daily.dev.

**@neoscripter** · 13 upvotes

> Omg... What problem does it solve? Guys, are you going to create another framework after that that will create templates to create php templates for this new UI framework that will render Inertia components? You know, sometimes it's okay to stop.
>
>
> You already created a framework that for some reason combines Node.js and PHP for backend (I don't remember its name). If you really wanna do something, maybe you could look into optimizing blade components so that devs don't have to use Blaze to have somewhat acceptable rendering speed?

**@mauriziomariani** · 0 upvotes

> So ugly, so sad

---

Tags: [#react](https://daily.dev/tags/react), [#php](https://daily.dev/tags/php), [#laravel](https://daily.dev/tags/laravel)

[View this post on daily.dev](https://daily.dev/posts/lattice-describe-inertia-uis-in-php-y3q7bvaqc)
