定制 lattice-php/starter-kit 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

lattice-php/starter-kit

Composer 安装命令:

composer create-project lattice-php/starter-kit

包简介

A Laravel + Inertia + React starter kit powered by Lattice server-driven UI.

README 文档

README

A Laravel starter kit for building server-driven React applications with Lattice. Pages, forms, tables, and layouts are defined in PHP and rendered as React components over Inertia — you get a single-page-app feel without hand-writing the client.

Features

  • Server-driven UI — pages, forms, tables, and layouts declared in PHP with Lattice.
  • Authentication — login, registration, password reset, and email verification via Laravel Fortify, plus two-factor authentication and passkeys.
  • Teams — multi-tenant teams with memberships, roles, and email invitations.
  • Account settings — profile, password, and security management.
  • Realtime notifications — live in-app toasts powered by Laravel Reverb and Echo. Invite a teammate who already has an account and they are notified instantly, wherever they are in the app.
  • Modern frontend — React 19, Inertia 3, Tailwind CSS v4, and TypeScript.

Requirements

  • PHP 8.4+
  • Composer
  • Node.js 22+

Getting started

Create a new project:

composer create-project lattice-php/starter-kit my-app
cd my-app

Then run the one-shot setup (install dependencies, create .env, generate the app key, migrate, and build assets):

composer setup

Start the development environment — the app server, queue worker, Reverb websocket server, log viewer, and Vite all run together:

composer dev

The app is now available at the URL printed by php artisan serve.

Realtime

Realtime notifications run over Laravel Reverb. composer dev starts the Reverb server for you; in production run it with php artisan reverb:start.

The broadcast connection and credentials are configured through the REVERB_* and VITE_REVERB_* variables in .env (reverb:install generates them). The client connects in resources/js/app.tsx via configureEcho, and pages declare their listeners in PHP — see app/Pages/Concerns/ListensForUserNotifications.php for the team-invitation example.

Testing

composer test          # Pint + the full Pest suite (feature, unit, browser)
./vendor/bin/pest      # tests only

License

MIT.

统计信息

  • 总下载量: 0
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 1
  • 点击次数: 3
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 1
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2026-06-21

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固