内置用户、角色与资源级权限、会话管理、活动日志和设置面板等后台模块
laravel-starter-kit — Vue 后台模板
作者 lvntrdev
基于 Laravel 与 Vue 的后台管理启动套件,内置用户、角色权限、活动日志、设置、文件管理器与 2FA 等模块,并附带 DDD 风格领域层与表单/表格构建工具。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
全部页面与视图 2
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
支持双因素认证(Fortify)与基于 Laravel Passport 的 OAuth2 API
提供 FormBuilder、DatatableBuilder、TabBuilder 流式 API 与 DDD 风格领域层
文件管理器支持可插拔上下文与签名分享链接,设置面板可管理多语言内容
通过 sk:update 哈希追踪升级、sk:doctor 健康检查与独立数据加密密钥管理
亮色与暗色主题可即时切换,无需重新构建
模板详细介绍
Lvntr Starter Kit 是一个面向后台管理的 Laravel 启动套件,前端使用 Vue 3、Inertia.js、PrimeVue 与 Tailwind CSS,提供登录注册、密码重置、邮箱验证、双因素认证(Fortify)以及基于 Laravel Passport 的 OAuth2 API。后台模块覆盖仪表盘、用户 CRUD(含头像上传与软删除)、角色与资源级权限(Spatie)、会话管理、活动日志、设置面板(常规/认证/邮件/存储/文件管理器/内容语言)、多语言内容、文件管理器(可插拔上下文与签名分享链接)、API 客户端与个人访问令牌、系统健康面板、API 路由浏览器以及数据库枚举定义。
开发者工具方面,套件提供 DDD 风格领域层(Actions、DTOs、Queries、Events、Listeners)、FormBuilder、DatatableBuilder、TabBuilder 等流式 API,以及通过 Vite 别名解析的 @lvntr/components Vue 组件库(未发布到 npm,无需单独安装)。还包含 make:sk-domain 领域脚手架、支持跨页选择的表格批量操作、基于哈希追踪的 sk:update 升级流程、sk:doctor 健康检查,以及独立于 APP_KEY 的数据加密密钥管理命令。主题支持亮色与暗色即时切换。
使用上需从干净的 Laravel 项目开始,通过 Composer 引入并运行 sk:install,安装器会配置迁移、种子数据、Passport 密钥、默认管理员用户并构建前端,同时将 User 与 Role 领域运行时类弹出到 app/Domain/ 以便项目自行定制。环境要求 PHP 8.4+、Laravel 13、Node.js 20.19+ 或 22.12+,数据库为 MySQL 或 MariaDB。仓库 README 明确标注项目处于活跃开发阶段,目录结构与核心类可能发生较大变化,更新不保证自动迁移路径,可能带来数据丢失或破坏性变更,稳定性尚未得到保证。
适合你的项目吗?
适用场景
- 需要快速搭建带用户与权限体系的后台管理系统的 Laravel 项目
- 希望在 Laravel 中结合 Inertia.js 与 Vue 3 构建数据密集型管理界面
- 需要活动日志、系统健康面板、API 路由浏览器等运维辅助模块的项目
- 计划以 DDD 风格领域层组织业务代码并需要脚手架与表单/表格构建工具的团队
适合人群
- 使用 Laravel 13 与 PHP 8.4+ 并需要现成后台模块的开发者
- 接受项目处于活跃开发阶段、能跟进手动升级与变更说明的团队
- 需要角色权限、2FA、OAuth2 API 与文件管理等通用后台能力的项目
- 偏好 Vue 3、Inertia.js、PrimeVue 与 Tailwind CSS 技术栈的前端开发者
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
需从干净的 Laravel 项目开始:composer create-project laravel/laravel my-app,再执行 composer require lvntr/laravel-starter-kit:^13.7 与 php artisan sk:install
- 2
环境要求 PHP 8.4+、Laravel 13、Node.js 20.19+(或 22.12+),数据库使用 MySQL 或 MariaDB
- 3
安装前先检查 php -v;laravel/laravel 骨架本身只要求 PHP 8.3,版本不符会在后续步骤才报错
- 4
引入时使用 :^13.7 约束,过宽的 :^13.0 可能被 Composer 解析到旧版本而掩盖真实阻塞
- 5
安装器会弹出 User 与 Role 领域运行时类到 app/Domain/,可用 --without-eject 保留在 vendor 中
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 项目处于活跃开发阶段,稳定性尚未保证,目录结构与核心类可能发生较大变化。
- 更新不保证提供自动迁移路径,可能需要按 README 或 CHANGELOG 手动干预。
- 重大变更可能导致现有项目数据丢失或破坏性问题。
- 运行环境要求 PHP 8.4 及以上,低于该版本无法使用。
- 数据库仅支持 MySQL 或 MariaDB。
- 前端构建要求 Node.js 20.19+ 或 22.12+。
- 必须使用 :^13.7 约束安装,过宽约束可能解析到旧版本。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
This repository is under active development and is subject to frequent changes. The stability of the project is not yet guaranteed.
README 原文
Updates may not always provide an automated migration path.
README 原文
Significant changes may lead to data loss or breaking issues in your existing project.
README 原文
this kit requires PHP 8.4+
README 原文
MySQL or MariaDB
README 原文
Node.js 20.19+ (or 22.12+)
README 原文
https://github.com/lvntrdev/laravel-starter-kit/blob/main/LICENSEhttps://github.com/lvntrdev/laravel-starter-kit/blob/main/README.mdcomposer require lvntr/laravel-starter-kit:^13.7
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-02。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料较完整 · 92 / 100
- 技术栈
- Vue · Laravel
- 网站类型
- 后台 · 启动器
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2026-10-01
- 截图检查日期
- 2026-10-02
已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。
目录记录的主要技术栈是 Vue。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: 95fa69f89232efcba010fff3e265a4653a1d676480b06ba8210fa7ca8aee3b27
2026-10-02T14:40:30.611Z
来源文件 / 仓库# Lvntr Starter Kit
### Admin-first Laravel starter kit.




> ## ⚠️ WARNING
>
> This repository is under active development and is subject to frequent changes. The stability of the project is not yet guaranteed. Please consider the following points before use:
>
> 1. **Code Changes:** The directory structure or core classes may undergo radical changes without prior notice.
> 2. **Update Process:** Updates may not always provide an automated migration path. In addition to running update commands, you may need to perform manual interventions by checking the `README` or `CHANGELOG` files.
> 3. **Risk:** Significant changes may lead to data loss or breaking issues in your existing project.
## Introduction
Lvntr Starter Kit is a full-featured admin panel for Laravel, built with **Laravel 13**, **Inertia.js v3**, **Vue 3**, **PrimeVue 4** and **Tailwind CSS 4**.
Unlike the official Laravel starter kits, which ship a minimal authentication scaffold, this kit gives you a production-ready admin panel on day one: users, roles, permissions, activity logs, settings, file manager, 2FA, and a DDD-style domain layer you can extend.
It is designed for teams who want to skip re-building the same admin screens on every project and go straight to business features.
> **Website & Documentation:** [starter-kit.lvntr.dev](https://starter-kit.lvntr.dev/)
> Installation guide, component references, architecture notes and examples.
## Screenshots





## What is Inside?
- **Authentication**
- Login / Register / Password Reset
- Email Verification
- Two-Factor Authentication (Fortify)
- OAuth2 API with Laravel Passport
- **User & Access Management**
- User CRUD with avatar upload and soft deletes
- Roles & dynamic resource-scoped permissions (Spatie)
- Session management
- **Admin Modules**
- Dashboard
- Activity Logs (browsable, filterable)
- Settings panel (General / Auth / Mail / Storage / File Manager / Content Languages)
- Multi-language content: active languages managed in Settings drive every [Translatable Field](./docs/translatable-fields.md) form-wide, no rebuild required
- File Manager with pluggable contexts and signed share links
- API Clients & Personal Access Token management
- System Health dashboard
- API Routes explorer
- Definitions (DB-backed enums used across forms and tables)
- **Developer Tooling**
- DDD-style domain layer (Actions / DTOs / Queries / Events / Listeners)
- FormBuilder, DatatableBuilder, TabBuilder fluent APIs (including [Translatable Fields](./docs/translatable-fields.md))
- `@lvntr/components` Vue component library (FormBuilder/DatatableBuilder/TabBuilder, UI primitives, File Manager UI) — not published on npm; resolved via a Vite alias into the package's own `vendor/` copy, so no separate install step is needed
- Domain scaffolding via `make:sk-domain` with opt-in flag support
- Datatable bulk actions with cross-page selection
- Safe upgrade flow via `sk:update` (hash-tracked, preserves your edits)
- System health check via `sk:doctor`
- Dedicated data-encryption key for sensitive settings & 2FA secrets, independent of `APP_KEY` — generate/rotate/verify with `encryption:key`, `encryption:rekey`, `encryption:health`
- Light & Dark themes with instant-switch built-in `main` and `aura` kit themes (no rebuild)
## How to use it?
Start from a clean Laravel install:
```bash
composer create-project laravel/laravel my-app
cd my-app
composer require lvntr/laravel-starter-kit:^13.7
php artisan sk:install
```
> **Check `php -v` first — this kit requires PHP 8.4+.** The `laravel/laravel`
> skeleton itself only requires PHP 8.3, so `create-project` succeeds on 8.3 and
> the failure surfaces later. Always require the kit with `:^13.7` (not a looser
> `:^13.0`): with a loose constraint Composer silently resolves down to an
> ancient release that still fits PHP 8.3 instead of reporting the real blocker.
That's it. The installer sets up migrations, seeders, Passport keys, a default admin user, and builds the frontend. It also ejects the `User` and `Role` domain runtime classes into `app/Domain/` so they are immediately project-owned and ready to customise. Pass `--without-eject` to keep them vendor-resident instead.
Full step-by-step guide: [starter-kit.lvntr.dev/docs/install](https://starter-kit.lvntr.dev/docs/install)
## Requirements
- PHP 8.4+ (hard floor — `spatie/laravel-activitylog:^5.0` requires it too)
- Laravel 13
- Node.js 20.19+ (or 22.12+) — Vite 7 engine floor
- MySQL or MariaDB
## Compatibility & Versioning
The package version major aligns with the supported Laravel major. Each
Laravel major gets its own maintenance branch and `vN.x.y` tag stream;
existing consumer constraints stay locked to their major and never
receive breaking changes from a newer Laravel target.
| Laravel | Constraint | Branch | Status |
|---------|-------------------------------------------------------|---------|-------------|
| 13.x | `composer require lvntr/laravel-starter-kit:^13.7` | `13.x` | active |
`main` tracks the currently active major (today: `13.x`). When a future
Laravel release is targeted, `main` will move to that next-major dev
stream and the previous major's `N.x` branch will continue to receive
backports.
The **git tag is the single source of version truth** — neither
`composer.json` nor the root `package.json` carries a `version` field, so
there is nothing to keep in sync. Releases are cut with `release.sh` (from
`main`), which tags the release and pushes only that tag.
## Documentation
Everything — installation, update flow, domain scaffolding, FormBuilder / DatatableBuilder / TabBuilder APIs, composables, file manager, roles & permissions, OAuth2 API, [AI-oriented API metadata](./docs/api-ai-metadata.md), activity logs, settings — lives on the official site:
**[starter-kit.lvntr.dev](https://starter-kit.lvntr.dev/)**
## License
[MIT](./LICENSE)
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

vuestic-admin
Vuestic Admin is an open-source, ready-to-use admin template suite designed for rapid development, easy mainte…
Vue · 后台

vitesse
🏕 Opinionated Vite + Vue Starter Template
Vue · 启动器

v3-admin-vite
v3-admin-vite 是一个主打 AI 编程友好体验的 Vue3 后台管理模板,基于 Vue3、Vite、TypeScript、Element Plus 构建。
Vue · 后台

vue-typescript-admin-template
vue-typescript-admin-template 是一套面向后台管理界面的前端解决方案,基于 Vue 2.6、TypeScript 和 Element UI 构建。
Vue · 后台

vue-antd-admin
Vue Antd Admin 是 Ant Design Pro 的 Vue 实现版本,目标是为中后台项目提供一套开箱即用的前端与设计解决方案。
Vue · 后台

coreui-free-vue-admin-template
Free Vue Admin & Dashboard Template Built for AI-Assisted Development
Vue · 后台
