Laravel后台启动器

laraengine-lite — Laravel 后台模板

作者 laraenginehq

LaraEngine Lite 是一个免费的 Laravel 13 起步套件,包含完整的认证流程、自定义 Bootstrap UI 外壳、安全响应头、队列与调度器心跳模式,以及 Pest 测试和 PHPStan level 8 静态分析。

看看你的网站会是什么样

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

2 个预览视图
桌面端首页1 / 2
桌面端截图首屏预览

由服务器浏览器实际访问页面后截取。

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

完整的认证流程:注册、登录、邮箱验证、密码重置和账户停用(is_active 标志可在会话中登出用户)

02

蜜罐防护注册与部分注册捕获:记录输入邮箱但未提交表单的线索,注册完成后标记为已转化

03

自定义 Bootstrap 5(Sass)UI 外壳,通过 LARAENGINE_APP_NAME 和 LARAENGINE_DOMAIN 配置品牌信息

04

队列工作进程和调度器心跳模式,通过 App\Support\SystemHeartbeat 读取为 healthy、stale 或 unknown 信号

05

默认安全响应头(X-Content-Type-Options、X-Frame-Options、Referrer-Policy、Permissions-Policy、Cross-Origin 头,HTTPS 下启用 HSTS)

06

包含 30 个 Pest 测试和 PHPStan level 8 检查,均通过,并使用 Pint 进行代码风格检查

模板详细介绍

LaraEngine Lite 是一个基于 Laravel 13 和 PHP 8.3+ 的免费起步套件,定位为可直接使用的项目基础,而非功能删减的演示。它提供完整的认证流程,包括注册、登录、邮箱验证、密码重置和账户停用(通过 is_active 标志在会话中登出用户,而不仅仅是阻止登录)。注册表单带有蜜罐字段防护,并包含部分注册捕获模式:在用户输入邮箱但尚未提交表单时记录线索,注册完成后标记为已转化。仪表板并非占位页面,而是展示账户状态、队列与调度器的实时健康状态,并提供自助停用账户操作。UI 采用自定义 Bootstrap 5(Sass)外壳,通过 LARAENGINE_APP_NAME 和 LARAENGINE_DOMAIN 配置品牌信息,页面标题、元标签、导航品牌和页脚会同步更新。队列工作进程和调度器各自刷新缓存键,App\Support\SystemHeartbeat 将其读取为 healthy、stale 或 unknown 信号。每个响应默认包含 X-Content-Type-Options、X-Frame-Options、Referrer-Policy、Permissions-Policy 和 Cross-Origin 头,HTTPS 下启用 HSTS。项目包含 30 个 Pest 测试和 PHPStan level 8 检查,均通过,并使用 Pint 进行代码风格检查。README 明确说明不包含基于角色的访问控制、Stripe 计费、评分/会员等级工作流、管理面板以及抓取/发现管道,这些属于完整版 LaraEngine。技术栈为 Blade + Bootstrap 5 + Vite,不使用 SPA 框架或 Livewire/Inertia;队列由数据库驱动,本地开发默认使用 SQLite。

Laravel后台启动器

适合你的项目吗?

适用场景

  • 需要快速搭建 Laravel 项目认证基础并希望包含邮箱验证和账户停用功能的开发场景
  • 希望使用自定义 Bootstrap UI 外壳而非 Laravel 默认脚手架外观的项目
  • 需要为编码代理(如 Claude Code 或 Cursor)提供结构化 Laravel 起点,避免从空仓库发明架构
  • 需要队列与调度器健康监控模式,并希望将其接入健康检查端点的应用
  • 希望默认启用安全响应头并包含相应测试的 Web 项目

适合人群

  • 使用 Laravel 13 和 PHP 8.3+ 的开发者
  • 需要免费、可直接使用的 Laravel 认证与 UI 基础的项目
  • 希望以约定驱动方式与编码代理协作的团队
  • 需要数据库驱动队列且不依赖 Redis/Horizon 的本地开发环境

上手与定制指南

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

  1. 1

    环境要求:PHP 8.3+、Composer、Node 18+、npm。

  2. 2

    安装步骤:composer install;cp .env.example .env;php artisan key:generate;touch database/database.sqlite;php artisan migrate;npm install;npm run build。

  3. 3

    启动开发环境:composer run dev,该命令并行运行 PHP 开发服务器、队列监听器、artisan pail 日志追踪和 Vite 开发服务器。

  4. 4

    默认邮件发送器将验证邮件记录到 storage/logs/laravel.log,需从该文件获取验证链接。

  5. 5

    测试与代码质量命令:vendor/bin/pest、vendor/bin/phpstan analyse、vendor/bin/pint --test。

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
  • README 推广完整版 LaraEngine,其中包含 RBAC、Stripe 计费、评分引擎和会员等级工作流;这些功能不在免费版中,需付费获取完整版。
  • 明确说明基于角色的访问控制、Stripe 计费、评分/会员等级工作流、管理面板以及抓取/发现管道属于完整版 LaraEngine,不包含在此免费仓库中。
  • 再次提示完整版 LaraEngine 提供 Spatie RBAC、Laravel Cashier + Stripe 计费、抓取/评分管道和管理面板,免费版不包含这些功能。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

> 🚀 **Want RBAC, Stripe billing, a scoring engine, and a full membership-tier workflow on top of this?** Check out [LaraEngine](https://laraengine.dev) — the full starter kit this template is extracted from.

README 原文

Role-based access control, Stripe billing, a scoring/membership-tier workflow, an admin panel, and the scraper/discovery pipeline are part of the full [LaraEngine](https://laraengine.dev) kit, not this free foundation. This repository is deliberately just auth, the UI shell, and the handful of patterns above.

README 原文

> 💡 **Outgrowing the free version?** [LaraEngine](https://laraengine.dev) builds on everything here with Spatie RBAC, Laravel Cashier + Stripe billing, a working scraper/scoring pipeline, an admin panel, and a Pest test suite covering all of it.

README 原文
https://github.com/laraenginehq/laraengine-lite/blob/master/LICENSEhttps://github.com/laraenginehq/laraengine-lite/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料较完整 · 85 / 100
技术栈
Laravel
网站类型
后台 · 启动器
这个分数如何计算

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

这个项目需要核对什么

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

已收录演示链接。请用你的内容与屏幕尺寸检查;有演示不代表表单、认证或支付已经可用。

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

查看具体选型方法 →

介绍的制作与核对状态

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

审核声明: codex-user-requested-batch-review-20261017 · 2026-10-16

查看当时使用的来源资料

SHA-256: 08c406c8d22c5ecde06708b28dce7e7e318004716dd74ab8cd7f46962cbd7351

2026-10-14T08:57:55.779Z

来源文件 / 仓库
# LaraEngine Lite

> 🚀 **Want RBAC, Stripe billing, a scoring engine, and a full membership-tier workflow on top of this?** Check out [LaraEngine](https://laraengine.dev) — the full starter kit this template is extracted from.

LaraEngine Lite is a free Laravel 13 starter kit: Bootstrap auth scaffolding, a custom UI shell, and a couple of small production-grade patterns worth copying — not a stripped-down teaser, a genuinely usable foundation.

It is also built to be a starting point a **coding agent** can follow: conventional Laravel, one obvious way to do things, real docs, and a test suite as a guardrail. Point Claude Code or Cursor at it instead of asking it to invent an architecture from an empty repo.

## Working with a coding agent

- [`AGENTS.md`](AGENTS.md) — the full guide for agents (structure, the working loop, commands, what "done" means); good human orientation too.
- [`CLAUDE.md`](CLAUDE.md) — the quick reference Claude Code loads automatically.
- [`.cursor/rules/laraengine-lite.mdc`](.cursor/rules/laraengine-lite.mdc) — the same rules for Cursor.
- [`docs/conventions.md`](docs/conventions.md) — the one obvious way to do each thing, so generated code stays coherent and PHPStan level 8 stays green.

## What's included

- **Full auth flow** — registration, login, email verification, password reset, and account deactivation (an `is_active` flag that logs a user out mid-session, not just blocks login).
- **Honeypot-protected registration** — a hidden field bots fill in and humans never see, plus a partial-signup capture pattern that records a lead the moment someone types their email, before the form is even submitted, and marks it converted once they finish registering.
- **A working dashboard** — not a stub: it renders your account state, live queue/scheduler health, and a self-service "deactivate my account" action that exercises the `is_active` flag end to end. Replace it with your product's first screen.
- **A custom Bootstrap UI shell** — not the stock Laravel UI scaffolding look, a restyled nav/footer/card system with its own Sass source.
- **Config-driven branding** — set `LARAENGINE_APP_NAME` and `LARAENGINE_DOMAIN` (the name falls back to `APP_NAME`), and every page title, meta tag, nav brand, and footer mention follows. No find-and-replace.
- **A queue-worker heartbeat pattern, both halves** — the queue worker and scheduler each refresh a cache key as they run, and `App\Support\SystemHeartbeat` reads them back into a `healthy` / `stale` / `unknown` signal you can surface from a health check.
- **Security headers by default** — X-Content-Type-Options, X-Frame-Options, Referrer-Policy, Permissions-Policy, and Cross-Origin headers on every response, plus HSTS on HTTPS, covered by its own test.
- **A real Pest test suite (30 tests) and PHPStan level 8**, both passing, plus Pint — not just mentioned in this README. See [`docs/architecture.md`](docs/architecture.md) for what's covered.

## What's not included

Role-based access control, Stripe billing, a scoring/membership-tier workflow, an admin panel, and the scraper/discovery pipeline are part of the full [LaraEngine](https://laraengine.dev) kit, not this free foundation. This repository is deliberately just auth, the UI shell, and the handful of patterns above.

## Tech stack

- Laravel 13, PHP 8.3+
- Blade + Bootstrap 5 (Sass) + Vite — no SPA framework, no Livewire/Inertia
- Database-driven queues (no Redis/Horizon required)
- SQLite by default for local dev; any Laravel-supported database works

## Quick start

Requirements: PHP 8.3+, Composer, Node 18+, npm.

```bash
composer install
cp .env.example .env
php artisan key:generate
touch database/database.sqlite
php artisan migrate
npm install
npm run build
```

Then start the dev environment:

```bash
composer run dev
```

This runs the PHP dev server, a queue listener, `artisan pail` (log tailing), and the Vite dev server concurrently. Visit `http://localhost:8000` and register an account — the default mailer just logs verification emails to `storage/logs/laravel.log` instead of sending them, so grab the verification link from there.

## Documentation

- [`AGENTS.md`](AGENTS.md) / [`CLAUDE.md`](CLAUDE.md) — working here with a coding agent.
- [`docs/conventions.md`](docs/conventions.md) — the coding conventions in full.
- [`docs/architecture.md`](docs/architecture.md) — what ships and where, the request/middleware flow, and each pattern (activation, honeypot + partial-signup capture, the heartbeats, security headers, branding) in detail.
- [`docs/customization.md`](docs/customization.md) — rebranding, building your authenticated area, tuning or removing the partial-signup capture, adding a CSP, wiring the heartbeats into a `/health` endpoint, switching databases, and real mail.
- [`CHANGELOG.md`](CHANGELOG.md) — what changed between versions.

## Testing and code quality

```bash
vendor/bin/pest              # full test suite (30 tests)
vendor/bin/phpstan analyse   # level 8, zero errors
vendor/bin/pint --test       # code style check
```

New tests are Pest functions (`tests/Feature`, `tests/Unit`); the original suites are plain PHPUnit classes. Both run in one pass via `tests/Pest.php`.

## License

MIT. See [`LICENSE`](LICENSE) — use it, modify it, ship it commercially, no attribution required.

---

> 💡 **Outgrowing the free version?** [LaraEngine](https://laraengine.dev) builds on everything here with Spatie RBAC, Laravel Cashier + Stripe billing, a working scraper/scoring pipeline, an admin panel, and a Pest test suite covering all of it.
反馈内容错误

看看同类模板

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