Laravel后台工具站启动器

laravel-sentinel-crud-starter — Laravel 后台模板

作者 rolandalla

基于 Laravel 的后台启动项目,集成 Sentinel 认证与权限管理,并提供 Artisan 命令式 CRUD 生成器。

看看你的网站会是什么样

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

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

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

全部页面与视图 2

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

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

值得关注的模板亮点

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

01

集成 Cartalyst Sentinel 认证,包含用户、角色与权限管理

02

后台提供用户管理、角色管理、权限分配和仪表盘页面

03

内置 CRUD 生成器,通过 php artisan crud:generate 命令生成模块代码

04

CRUD 命令支持 --route、--pk、--view-path、--namespace、--route-group 等选项

05

附带 Datatables Bundle,并可使用 Gentelella Dashboard 界面

06

前端提供用户登录与注册页面

模板详细介绍

这是一个 Laravel 后台启动项目,核心是把用户认证、角色与权限管理和 CRUD 代码生成放在同一套骨架里。认证与授权使用 Cartalyst Sentinel 包,后台包含用户管理、角色管理、权限分配(用户权限与角色权限)以及仪表盘,前端提供用户登录与注册页面。项目附带 Datatables Bundle 与 CRUD 生成器,可通过 Artisan 命令生成模块代码。

CRUD 生成器以命令行为入口,例如 php artisan crud:generate Posts --fields="title:string, body:text",并支持通过 --route、--pk、--view-path、--namespace、--route-group 等选项控制路由、主键、视图目录与命名空间。README 说明该命令需要先配置好数据库连接。

安装流程为:下载或克隆仓库、用 Composer 安装依赖(composer dump-autoload 与 composer install --no-scripts)、创建 utf8_general_ci 排序规则的 MySQL 数据库并配置 .env、执行 php artisan migrate 与 php artisan db:seed,然后通过 public 目录或 php artisan serve 访问。默认后台账号为 [email protected] / admin。README 同时给出两个常见问题处理:加密密钥错误时执行 php artisan key:generate,站点加载慢时执行 composer dump-autoload --optimize。

项目资料对应 Laravel 5.4 与 Bootstrap 3.x,界面可选用 Gentelella Dashboard,仓库最后更新时间为 2018 年,属于较早期的技术栈,README 也提到前端功能后续会继续补充。

Laravel后台工具站启动器

适合你的项目吗?

适用场景

  • 搭建带角色与权限控制的后台管理系统原型
  • 用 Artisan 命令快速生成增删改查模块代码
  • 作为 Laravel 后台项目的起始骨架进行二次开发
  • 学习 Sentinel 认证与权限分配在后台中的组织方式

适合人群

  • 需要 Laravel 后台骨架并自带认证与权限管理的开发者
  • 希望通过命令行生成 CRUD 代码以减少重复工作的团队
  • 使用 Laravel 5.4 技术栈、可接受较早期依赖版本的项目

上手与定制指南

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

  1. 1

    环境要求 PHP >= 5.6.4,并启用 OpenSSL、PDO、Mbstring、Tokenizer、XML 扩展

  2. 2

    克隆或下载仓库后执行 composer dump-autoload 与 composer install --no-scripts

  3. 3

    创建 utf8_general_ci 排序规则的 MySQL 数据库,复制 .env.example 为 .env 并填写数据库连接

  4. 4

    执行 php artisan migrate 与 php artisan db:seed 完成建表与初始数据填充

  5. 5

    默认后台账号为 [email protected],密码 admin;出现加密密钥错误时执行 php artisan key:generate

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

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

项目核对记录与介绍依据

模板资料

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

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

这个项目需要核对什么

记录的仓库更新时间
2018-05-16
截图检查日期
2026-10-02

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 8e7f63d45eb1315107977adf203fbf6c3c234c9896399f3eecff1c88ca0f89f2

2026-10-02T14:41:46.053Z

来源文件 / 仓库

# Laravel Framework 5.4 ,Sentinel,Crud Generator
[Check our article ](https://top-developer.com/starter-site-based-on-on-laravel-54-9gk4o) 
## Starter Site based on on Laravel 5.4 
* [Features](#feature1)
* [Requirements](#feature2)
* [How to install](#feature3)
* [Troubleshooting](#feature5)
* [License](#feature6)
* [Additional information](#feature7)
* [How Starter site is look like](#feature8)
* [Crud Generator](#feature9)

<a name="feature1"></a>
## Starter Site Features:
* Laravel 5.4.x
* Twitter Bootstrap 3.x
* Back-end
	* Automatic install and setup website.
	* User management.
	* Role management.
	* Dashboard.
	* Gentelella Dashboard Ready.
* Front-end
	* User login, registration
	* soon will be more...
* Packages included:
	* Datatables Bundle
	* Sentinel
	* Crud generator

-----
<a name="feature2"></a>
##Requirements

	PHP >= 5.6.4
	OpenSSL PHP Extension
	PDO PHP Extension
	Mbstring PHP Extension
	Tokenizer PHP Extension
	XML PHP Extension

-----
<a name="feature3"></a>
##How to install:
* [Step 1: Get the code](#step1)
* [Step 2: Use Composer to install dependencies](#step2)
* [Step 3: Create database](#step3)
* [Step 4: Install](#step4)
* [Step 5: Start Page](#step5)

-----
<a name="step1"></a>
### Step 1: Get the code - Download the repository
	https://github.com/roladn/laravel-sentinel-crud-starter/archive/master.zip 
    
    OR Clone this repository:
     https://github.com/roladn/laravel-sentinel-crud-starter.git

Extract it in www(or htdocs if you using XAMPP or MAMP) folder and put it for example in laravelStartersite folder.

-----
<a name="step2"></a>
### Step 2: Use Composer to install dependencies

Laravel utilizes [Composer](http://getcomposer.org/) to manage its dependencies. First, download a copy of the composer.phar.
Once you have the PHAR archive, you can either keep it in your local project directory or move to
usr/local/bin to use it globally on your system.
On Windows, you can use the Composer [Windows installer](https://getcomposer.org/Composer-Setup.exe).
Open terminal and go to the project foleder
Then run:

    composer dump-autoload
    composer install --no-scripts

-----
<a name="step3"></a>
### Step 3: Create database

If you finished first three steps, now you can create database on your database server(MySQL). You must create database
with utf-8 collation(uft8_general_ci), to install and application work perfectly.
Just go to the phpmyadmin and create the new database
After that, copy .env.example and rename it as .env and put connection and change default database connection name, only database connection, put name database, database username and password.

-----
<a name="step4"></a>
### Step 4: Install

Now that you have the environment configured, you need to create a database configuration for it. For create database tables use this command:

    php artisan migrate

And to initial populate database use this:

    php artisan db:seed

If you install on your localhost in folder laravelStartersite, you can type on web browser:

	http://localhost/laravelStartersite/public

OR Run the command " php artisan serve ", and open on the browser the url you get in console :):


-----
<a name="step5"></a>
### Step 5: Start Page

You can now login to admin part of Laravel Framework 5.4  Site:

    username: [email protected]
    password: admin


-----
<a name="feature5"></a>
## Troubleshooting

### RuntimeException : No supported encrypter found. The cipher and / or key length are invalid.

    php artisan key:generate

### Site loading very slow

	composer dump-autoload --optimize
OR

    php artisan dump-autoload

-----
<a name="feature6"></a>
## License

This is free software distributed under the terms of the MIT license

-----
<a name="feature7"></a>
## Additional information

Inspired by Laravel 5.4 and based on:
[Crud Generator](https://github.com/roladn/laravelcrud)
[Gentelella Dashboard](https://goo.gl/NI1sGa)
[Sentinel Authentication](https://cartalyst.com/manual/sentinel/2.0)
----
<a name="feature8"></a>
##How Starter Site is look like

![Index](http://i63.tinypic.com/315onf8.png)
![Login](http://i64.tinypic.com/23vku8w.png)
![Register new user](http://i63.tinypic.com/21jaybp.png)
![Admin dashboard](http://i66.tinypic.com/a4bj9l.png)
![Admin list users](http://i63.tinypic.com/2ivzio9.png)
![Perrmissons user/role ](http://i67.tinypic.com/35jgn52.png)

----
<a name="feature9"></a>
## Crud Generator
Note: You should have configured database for this operation.

## Commands

#### Crud command:

```
php artisan crud:generate Posts --fields="title:string, body:text"
```

You can also easily include route, set primary key, set views directory etc through options **--route**, **--pk**, **--view-path** as belows:

```
php artisan crud:generate Posts --fields="title:string:required, body:text:required" --route=yes --pk=id --view-path="admin" --namespace=Admin --route-group=admin
```

If you are interested in  CRUD Generator then visit below links for more commands
[Crud Generator](https://github.com/roladn/laravelcrud#commands)
## Support on Beerpay
Hey dude! Help me out for a couple of :beers:!

[![Beerpay](https://beerpay.io/roladn/laravel-sentinel-crud-starter/badge.svg?style=beer-square)](https://beerpay.io/roladn/laravel-sentinel-crud-starter)  [![Beerpay](https://beerpay.io/roladn/laravel-sentinel-crud-starter/make-wish.svg?style=flat-square)](https://beerpay.io/roladn/laravel-sentinel-crud-starter?focus=wish)
反馈内容错误

看看同类模板

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