LaravelReact启动器

laravel-react-inertia-starter-kit — Laravel 启动器模板

作者 AHS12

基于 Laravel 与 Inertia/React 的全栈启动器,内置 Fortify 认证、RBAC、审计日志、异步导入导出、备份与首次安装向导。

看看你的网站会是什么样

浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。

1 个预览视图
作者提供的预览
作者提供的预览

来自项目 README 的原始预览。

目前有 1 张原始预览,可打开完整图片查看设计细节。

截图用于了解视觉与布局,交互效果请以实际项目为准。

采集于 2026-10-01查看来源

值得关注的模板亮点

从已有项目资料中,快速了解它的特点。

01

Fortify 认证:注册、邮箱验证、密码重置、双因素认证与 passkey

02

RBAC 与用户管理:Super Admin / Admin / Member 系统角色、权限注册表、邮件邀请

03

审计日志:记录操作行为,可在 /audit-logs 浏览,支持保留期设置与导出

04

异步数据处理:/activity 中的导入导出队列任务,显示进度并可下载产物

05

定时备份:基于 spatie/laravel-backup,支持运行历史、健康检查与可选 S3/R2 异地存储

06

首次安装向导:/setup 引导完成环境检查、数据库配置、迁移与超级管理员创建

模板详细介绍

这是一个 Laravel + Inertia/React 的全栈启动器,后端采用 Service–Repository 分层,前端使用 Inertia、React 与 TypeScript。它把常见的后台基础能力预先接好:Fortify 认证(注册、邮箱验证、密码重置、双因素认证与 passkey)、Super Admin / Admin / Member 三级系统角色与权限注册表、用户与角色管理(含邮件邀请)、常规/邮件/外观设置、用户个人资料与安全设置、站内通知中心及用户偏好。

数据与运维方面,项目包含通过 spatie/laravel-medialibrary 处理媒体与文件上传、记录“谁做了什么”的审计日志(可在 /audit-logs 浏览,支持保留期设置与导出)、基于队列的异步导入导出(Data Processing Center,位于 /activity,可查看进度并下载产物)、使用 spatie/laravel-backup 的定时备份(可在设置中调整计划,查看运行历史与健康检查,并可选配置 S3/R2 异地存储)。开发工具方面集成 Telescope、Pulse、Horizon 与健康检查。

首次运行可通过浏览器安装向导 /setup 完成环境检查、数据库配置、迁移与超级管理员创建,无需手动编辑 .env。项目内置英语、孟加拉语、法语、德语、西班牙语五种语言。数据库支持 PostgreSQL(推荐)、MySQL/MariaDB 或 SQLite;缓存与队列在可用时使用 Redis,否则回退到文件或数据库驱动。

限制与注意事项:仓库为启动器模板,不包含具体业务功能;演示图片、字体、图标等第三方素材需按各自许可单独核对;域名、托管、数据库、支付或 AI 等外部服务可能另外收费。项目未声明生产环境下的性能或可用性指标。

LaravelReact启动器

适合你的项目吗?

适用场景

  • 需要快速搭建带认证、权限与后台设置的管理系统原型
  • 希望以 Service–Repository 分层作为项目起点,减少基础模块的重复搭建
  • 需要审计日志、异步导入导出或定时备份等运维能力的中后台项目
  • 面向多语言用户,需要内置五种语言国际化的应用
  • 使用 Laravel 与 React/Inertia 技术栈,并希望集成 Telescope、Pulse、Horizon 等开发工具

适合人群

  • 熟悉 Laravel 与 React/TypeScript 的全栈开发者
  • 需要后台管理基础能力的团队或独立开发者
  • 希望以 MIT 许可代码作为项目起点的使用者

上手与定制指南

结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。

  1. 1

    环境要求:PHP 8.3+、Composer 2、Node.js ^20.19.0 || >=22.12.0,以及一个数据库(SQLite 可零配置)

  2. 2

    快速开始:克隆仓库后运行 composer setup 完成依赖、.env、密钥、驱动、迁移与种子数据、前端资源,再用 composer run dev 启动服务、队列与 Vite

  3. 3

    首次登录可使用种子超级管理员(仅本地/测试环境):[email protected] / 123456

  4. 4

    也可在服务启动后打开 /setup,通过浏览器向导完成环境检查、数据库配置、迁移、驱动检测与超级管理员创建

  5. 5

    分发或商用前请核对第三方素材许可,并确认外部服务可能产生的费用

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。

使用时需要遵守

  • 允许免费使用、修改、商用和分发该版本代码。
  • 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
  • 代码按现状提供;担保与责任限制以原许可证及适用法律为准。

额外费用与待核对事项

  • 种子超级管理员账号([email protected] / 123456)仅限本地或测试环境使用,不得用于生产环境。
  • 异地备份功能依赖可选的 S3 或 Cloudflare R2 对象存储服务,使用该功能需自行开通并可能产生第三方服务费用。
  • 文档推荐的 Laravel Herd、Lerd、Laragon、EnvKit 等本地开发工具为第三方产品,部分可能为付费或需单独授权,非本项目免费代码的一部分。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

log in with the seeded super admin (local/testing only):

README 原文

scheduled backups with optional S3/R2 off-site storage

README 原文

Local dev is even smoother with a tool like **Laravel Herd**, > **Lerd**, **Laragon** or **EnvKit**

README 原文
https://github.com/AHS12/laravel-react-inertia-starter-kit/blob/main/LICENSEhttps://github.com/AHS12/laravel-react-inertia-starter-kit/blob/main/README.md

DeepSeek 根据仓库许可证和 README 整理 ·2026-10-01。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料一般 · 73 / 100
技术栈
Laravel · React
网站类型
启动器
这个分数如何计算

本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。

这个项目需要核对什么

记录的仓库更新时间
2026-09-29
截图检查日期
2026-10-01

目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。

目录记录的主要技术栈是 Laravel。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。

查看具体选型方法 →

介绍的制作与核对状态

介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。

已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。

查看当时使用的来源资料

SHA-256: 6c6a227781d0b7598d152d2d751984804cc1c21434a5d87dc0c76c6c307457d6

2026-10-01T02:21:04.044Z

来源文件 / 仓库
# Laravel React Inertia Starter Kit

[![Tests](https://github.com/AHS12/laravel-react-inertia-starter-kit/actions/workflows/tests.yml/badge.svg)](https://github.com/AHS12/laravel-react-inertia-starter-kit/actions/workflows/tests.yml)
[![License: MIT](https://img.shields.io/badge/License-MIT-blue.svg)](LICENSE)
![PHP](https://img.shields.io/badge/PHP-8.3%2B-777BB4?logo=php&logoColor=white)
![Node](https://img.shields.io/badge/Node-%5E20.19%20%7C%7C%20%3E%3D22-339933?logo=nodedotjs&logoColor=white)

A **production-ready Laravel + Inertia/React starter kit**: authentication
(Fortify, 2FA, passkeys), RBAC, user/role management, settings, notifications,
media, an async export/import Data Processing Center, a full audit trail,
scheduled backups with optional S3/R2 off-site storage, a first-run setup
wizard and developer tools — wired together with a strict Service–Repository
architecture so product work can start on day one. Ships with 5-language
internationalization (English, Bangla, French, German, Spanish).

<!-- 📸 Screenshots: drop the two images into docs/images/ as
     screenshot-1.png and screenshot-2.png (or update the paths below). -->

<p align="center">
  <img src="docs/images/screenshot-1.png" alt="Application screenshot 1" width="49%">
&nbsp;
  <img src="docs/images/screenshot-2.png" alt="Application screenshot 2" width="49%">
</p>

## Highlights

- **Fortify authentication** — registration, email verification, password
  reset, two-factor auth and passkeys
- **RBAC** — Super Admin / Admin / Member system roles with a permission
  registry
- **User & role management**, including email invitations
- **Settings** — general, mail, appearance, per-user profile and security
- **Notifications** — in-app notification center with per-user preferences
- **Media & file uploads** via `spatie/laravel-medialibrary`
- **Audit trail** — "who did what" logging, browsable at `/audit-logs`, with
  retention settings and export
- **Async exports & imports** — a Data Processing Center (`/activity`)
  tracking queued jobs with live progress and artifact download
- **Scheduled backups** — `spatie/laravel-backup` with a settings-driven
  schedule, run history, health checks and an optional S3/R2 off-site
  destination ([docs/backups.md](docs/backups.md))
- **Developer tooling** — Telescope, Pulse, Horizon and health checks
- **First-run browser installer** at `/setup` — configure everything without
  touching `.env` by hand
- **Internationalization** — 5 locales out of the box

## Tech stack

| Layer       | Technology                                                   |
| ----------- | ------------------------------------------------------------ |
| Backend     | Laravel, PHP 8.3+ (Service–Repository architecture)          |
| Frontend    | Inertia + React 19 + TypeScript, Tailwind CSS 4, shadcn/ui   |
| Database    | PostgreSQL (recommended), MySQL/MariaDB, or SQLite           |
| Cache/Queue | Redis when available, otherwise file/database drivers        |
| Auth        | Laravel Fortify                                              |
| Exports     | maatwebsite/excel, queued jobs                               |

## Quick start

Requirements: PHP 8.3+, Composer 2, Node.js `^20.19.0 || >=22.12.0`, and a
database (SQLite works with zero setup).

```sh
git clone https://github.com/AHS12/laravel-react-inertia-starter-kit.git
cd laravel-react-inertia-starter-kit
composer setup     # deps, .env, key, drivers, migrate + seed, assets
composer run dev   # server + queue worker + Vite
```

Open <http://localhost:8000> and log in with the seeded super admin
(local/testing only):

```
Email:    [email protected]
Password: 123456
```

Prefer a guided setup? Serve the app and open **`/setup`** — the browser
installer walks through environment checks, database configuration,
migrations, driver detection and super admin creation.

> Local dev is even smoother with a tool like **Laravel Herd**,
> **Lerd**, **Laragon** or **EnvKit** — see
> [docs/installation.md](docs/installation.md).

## Documentation

Full guides live in [`docs/`](docs/README.md):

| Guide                                            | What it covers                          |
| ------------------------------------------------ | --------------------------------------- |
| [Getting started](docs/getting-started.md)        | Install, boot, first login               |
| [Installation](docs/installation.md)              | Setup details + local env tools          |
| [Configuration](docs/configuration.md)            | `.env`, drivers & Redis, mail, queues    |
| [Backups](docs/backups.md)                        | Scheduled backups, S3/R2 destinations, restore runbook |
| [Architecture](docs/architecture.md)              | Service–Repository, project structure    |
| [Testing](docs/testing.md)                        | Pest, the quality gate, git hooks        |
| [Translations](docs/translations.md)              | The 5-locale i18n layer                  |
| [Troubleshooting](docs/troubleshooting.md)        | Common problems and fixes                |

## Contributing

Contributions are welcome! See [CONTRIBUTING.md](CONTRIBUTING.md) for the
workflow, conventions and the required quality gate (`composer check`).
Please note our [Code of Conduct](CODE_OF_CONDUCT.md). Security
vulnerabilities are handled privately — see [SECURITY.md](SECURITY.md).

## License

Released under the [MIT License](LICENSE).
反馈内容错误

看看同类模板

对比同技术栈与用途的模板,找到更适合的视觉与内容结构。