LaravelHTML后台启动器

bs5larastarter — Laravel 后台模板

作者 AbhishekPriy9

基于 Bootstrap 5 与 Sneat 主题的 Laravel 后台面板启动包,提供登录、角色控制、个人资料与站点设置等预置页面。

看看你的网站会是什么样

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

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

来自项目 README 的原始预览。

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

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

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

值得关注的模板亮点

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

01

基于 Bootstrap 5 与 Sneat 后台模板构建的 Laravel 管理面板

02

预置管理员登录、仅限 admin 的角色访问控制、个人资料与站点设置页面

03

提供 /admin/login、/admin/dashboard、/admin/profile/edit、/admin/settings 路由

04

通过 php artisan bs5:install 命令完成安装并创建管理员账号

05

使用 Vite 打包前端资源,视图与资源目录可直接修改定制

模板详细介绍

bs5larastarter 是一个面向 Laravel 的后台管理面板启动包,UI 采用 Bootstrap 5 与 Sneat Bootstrap 5 Admin Template(免费版),通过 Composer 包 abhishekpriy9/bs5larastarter 分发。README 声明支持 Laravel 11、12、13,最低要求 PHP 8.2(Laravel 13 需 PHP 8.3)、Node.js 18 及以上,并使用 Vite 打包前端资源。

功能上包含管理员登录/登出、仅限 admin 的角色访问控制、用户个人资料管理、站点设置管理,以及响应式仪表盘。预置路由为 /admin/login、/admin/dashboard、/admin/profile/edit、/admin/settings。安装通过 php artisan bs5:install 命令完成,会提示确认数据库清空并创建管理员账号,随后需执行 npm install 与 npm run dev(生产用 npm run build)。

限制较为明确:安装命令执行 migrate:fresh,会清空数据库全部表与数据,README 明确要求仅在全新的 Laravel 项目上使用,在已有项目中使用可能导致数据丢失与冲突。主题使用的是 Sneat 免费版,商业用途或高级功能需向 ThemeSelection 购买授权。仓库以 MIT 许可发布,但演示图片、字体、图标等第三方素材需按各自许可单独核对。

LaravelHTML后台启动器

适合你的项目吗?

适用场景

  • 为新的 Laravel 项目快速搭建带登录与权限的后台管理界面
  • 在 Bootstrap 5 风格下统一管理用户资料与站点配置项
  • 作为二次开发起点,替换或扩展 Sneat 主题的视图与资源

适合人群

  • 准备启动全新 Laravel 项目并需要现成后台骨架的开发者
  • 接受 Bootstrap 5 与 Sneat 免费版视觉风格的团队
  • 希望以 MIT 许可代码为基础自行修改视图、路由与中间件的项目

上手与定制指南

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

  1. 1

    安装命令会执行 migrate:fresh 清空数据库,务必只在全新 Laravel 项目上使用

  2. 2

    需先 composer require abhishekpriy9/bs5larastarter,再运行 php artisan bs5:install 并按提示设置管理员信息

  3. 3

    安装后执行 npm install 与 npm run dev,生产环境改用 npm run build

  4. 4

    Linux 下若出现文件监听数量超限错误,需按 README 调整 fs.inotify.max_user_watches

  5. 5

    Sneat 免费版仅限其许可范围,商业用途或高级功能需向 ThemeSelection 购买授权

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 安装命令会执行 migrate:fresh,清空数据库全部表与数据并创建新管理员账号,仅可在全新的 Laravel 项目上使用;在已有项目上使用可能导致数据丢失与冲突。
  • 项目使用的 Sneat Bootstrap 5 Admin Template 为免费版,商业用途或高级功能需另行向 ThemeSelection 购买授权,免费范围受该主题自身许可限制。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

This package will wipe your database and create a new admin user. Use only on a fresh Laravel project.

README 原文

For commercial use or advanced features, please purchase a license from ThemeSelection.

README 原文
https://github.com/AbhishekPriy9/bs5larastarter/blob/main/LICENSEhttps://github.com/AbhishekPriy9/bs5larastarter/blob/main/README.md

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

记录的仓库更新时间
2026-05-22
截图检查日期
2026-10-03

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

审核声明: [email protected] · 2026-10-04

查看当时使用的来源资料

SHA-256: 0e771953ecbbc85e0a8ba4649246e0d298a5dc1939d289fc23f51264e284f4c6

2026-10-03T22:55:51.058Z

来源文件 / 仓库
# Bs5-Larastarter

A simple, modern admin panel starter kit for Laravel 11, 12, and 13, built with [Bootstrap 5](https://getbootstrap.com/) and powered by the [Sneat Bootstrap 5 Admin Template](https://themeselection.com/products/sneat-bootstrap-html-admin-template/). This package provides a ready-to-use admin panel with authentication, user profile management, settings, and more.

## Minimum Requirements

- PHP >= 8.2 (PHP >= 8.3 required for Laravel 13)
- Laravel 11, 12, or 13
- Node.js >= 18.x
- Composer
- NPM

## Admin Panel Screenshot

![Admin Panel Screenshot](https://raw.githubusercontent.com/AbhishekPriy9/bs5larastarter/main/docs/admin-screenshot.png)

*Example: Sneat Bootstrap 5 Admin Dashboard*


## Features

- Laravel 11/12/13 support
- Bootstrap 5 (Sneat theme) UI
- Admin authentication (login/logout)
- Role-based access (admin only)
- User profile management
- Site settings management
- Responsive dashboard
- Vite asset bundling
- Clean code structure for easy customization

## Credits

- **Sneat Bootstrap 5 Admin Template** by [ThemeSelection](https://themeselection.com/products/sneat-bootstrap-html-admin-template/)

## Installation

> **Warning:** This package will wipe your database and create a new admin user. Use only on a fresh Laravel project.

1. **Require the package via Composer:**
   ```sh
   composer require abhishekpriy9/bs5larastarter
   ```

2. **Run the installation command:**
   ```sh
   php artisan bs5:install
   ```
   - You will be prompted to confirm database wipe and admin user creation.
   - Follow the prompts to set admin name, email, and password.

3. **Install Node.js dependencies:**
   ```sh
   npm install
   ```

4. **Start the Vite development server:**
   ```sh
   npm run dev
   ```
   - For production, use:
     ```sh
     npm run build
     ```

5. **Access the admin panel:**
   - Visit [http://your-app-url/admin/login](http://your-app-url/admin/login)

## Usage

- **Admin Login:** `/admin/login`
- **Dashboard:** `/admin/dashboard`
- **Profile:** `/admin/profile/edit`
- **Settings:** `/admin/settings`

## File Structure

See the [stubs/](stubs/) directory for published controllers, views, assets, and routes.

## Customization

- **Views:** Edit files in `resources/views/admin/` for dashboard, login, profile, and settings pages.
- **Assets:** Customize CSS/JS in `resources/admin/assets/`.
- **Settings:** Extend `app/Models/Setting.php` and `config/settings.php` for site configuration.
- **Middleware:** Modify `app/Http/Middleware/AdminMiddleware.php` for access control.

## Troubleshooting

### Watchers Limit Exceeded Error

If you see an error like `ENOSPC: System limit for number of file watchers reached` when running `npm run dev`, you need to increase the watchers limit on your system.

**To fix this on Linux, run:**

```bash
echo fs.inotify.max_user_watches=524288 | sudo tee -a /etc/sysctl.conf
sudo sysctl -p
```

This increases the number of files your system can watch, which is required for Vite and Laravel Mix to work properly.

## FAQ

### Will this package overwrite my existing database?
**Yes.** The install command runs `migrate:fresh`, which wipes all tables and data. Use only on a fresh Laravel project.

### Can I use this with an existing Laravel app?
It’s designed for new projects. Using it on an existing app may cause data loss and conflicts.

### How do I change the admin panel URL?
Edit the published `routes/admin.php` file and update route prefixes as needed.

### How do I add more admin users?
Register new users via the database or extend the admin registration logic in your controllers.

### How do I customize the theme?
Edit assets in `resources/admin/assets/` and views in `resources/views/admin/`.


## Sneat Theme License

This package uses the [Sneat Bootstrap 5 Admin Template](https://themeselection.com/products/sneat-bootstrap-html-admin-template/) (free version). For commercial use or advanced features, please purchase a license from ThemeSelection.

## Contributing

Pull requests and issues are welcome!

## License

MIT

---

**Developed by AbhishekPriy9**
反馈内容错误

看看同类模板

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