HTML后台

Gentella-admin-Symfony-6 — HTML 后台模板

作者 mamless

基于 Symfony 6 与 Gentelella Free Bootstrap 4 后台模板搭建的后台骨架,内置用户账户、角色权限、博客与 FAQ 等模块。

看看你的网站会是什么样

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

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

来自项目 README 的原始预览。

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

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

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

值得关注的模板亮点

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

01

基于 Gentelella Free Bootstrap 4 后台主题的响应式管理界面

02

内置认证系统与密码重置邮件流程

03

用户与角色 CRUD,结合 Ajax 与 Symfony 表单系统

04

博客管理模块,含变更历史与 Writer/Editor 文件上传访问控制

05

FAQ 模块与可配置的翻译功能

06

2024 年更新引入密码限流与用户档案(profile)角色配置方式

模板详细介绍

这是一个在 Symfony 6 框架上集成 Gentelella Free Bootstrap 4 后台主题的骨架应用,前端页面使用 HTML 与 Bootstrap 4 构建响应式管理界面。项目提供用户账户相关的基础功能,包括认证系统、密码重置邮件流程,以及基于 Symfony 表单与 Ajax 的用户/角色 CRUD。

除账户体系外,仓库还包含博客管理模块(支持 CRUD、变更历史,以及面向 Writer 和 Editor 的文件上传访问控制)、FAQ 模块和翻译功能。2024 年 7 月的更新引入了密码限流,并将角色配置改为“用户档案(profile)”概念:先创建包含一组角色的档案,再关联到用户,同时保留直接给用户分配角色的方式。

运行环境要求 PHP 8 及以上、MySQL 数据库,composer.json 中记录的 PHP 版本为 8.2.4。README 中列出的后续计划包括联系人模块、faker 假数据生成、为实体添加 SEO 字段,以及升级到 Symfony 7,这些内容尚未完成,不应视为现有功能。

HTML后台

适合你的项目吗?

适用场景

  • 需要快速搭建带用户认证与角色权限的 Symfony 后台项目
  • 为博客或内容站点提供后台管理入口,并区分 Writer 与 Editor 的上传权限
  • 在后台中维护 FAQ 与多语言翻译内容
  • 作为学习 Symfony 6 表单、安全组件与 Doctrine 集成的参考项目

适合人群

  • 熟悉 PHP 与 Symfony 的后端开发者
  • 需要可自行修改角色与权限配置的后台项目
  • 以 MySQL 为数据库、使用 Composer 管理依赖的团队

上手与定制指南

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

  1. 1

    运行 composer install 安装依赖

  2. 2

    使用 php bin/console doctrine:schema:create 创建数据库结构

  3. 3

    运行 php bin/console doctrine:fixtures:load 载入初始数据,默认登录账号为 admin / admin

  4. 4

    环境要求 PHP 8 及以上(composer.json 记录为 8.2.4)与 MySQL

查看仓库使用说明

授权与来源资料

使用条件与限制

免费使用 · 保留许可声明

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

使用时需要遵守

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

额外费用与待核对事项

  • 使用该模板时必须注明 Colorlib 为原始作者,即需保留对 Gentelella 模板作者 Colorlib 的署名/归属声明。
  • 默认登录凭据为 admin/admin,仅用于本地初始数据,部署前必须修改,否则存在安全风险。
  • 运行环境要求 PHP 8 及以上(composer.json 记录为 8.2.4),并需 MySQL 数据库与 Composer 安装依赖。
  • 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
  • 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据

Permission is hereby granted, free of charge

许可证原文

But you always need to state that Colorlib is the original author of this template.

README 原文

- Username : "admin" - Password : "admin"

README 原文

- PHP >= 8 (8.2.4 used in composer.json)

README 原文
https://github.com/mamless/Gentella-admin-Symfony-6/blob/master/LICENSEhttps://github.com/mamless/Gentella-admin-Symfony-6/blob/master/README.md

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

项目核对记录与介绍依据

模板资料

来源平台
GitHub
资料与维护参考分
资料一般 · 69 / 100
技术栈
HTML
网站类型
后台
这个分数如何计算

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

这个项目需要核对什么

记录的仓库更新时间
2024-12-03
截图检查日期
2026-10-02

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

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

查看具体选型方法 →

介绍的制作与核对状态

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

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

查看当时使用的来源资料

SHA-256: 9a83df4a567e1d4023f9d4565abc01261425ed062e7772ebb735548ee8dc866e

2026-10-02T14:22:46.634Z

来源文件 / 仓库
<p align="center"><img alt="symfony logo" src="https://symfony.com/images/logos/header-logo.svg"></p>

# **Symfony 6 backoffice with Gentella Free Bootstrap 4 Admin Dashboard Template**

Gentelella A skeleton application with user account functionality on the foundation of the Symfony 5 framework, Twitter Bootstrap and Gentelella template .

## Theme Demo
![Gentelella Bootstrap Admin Template](https://colorlib.com/wp/wp-content/uploads/sites/2/gentelella-admin-template-preview.jpg
"Gentelella Theme Browser Preview")
**[Template Demo](https://colorlib.com/polygon/gentelella/index.html)**



# **Features**
- Administration Dashboard with Gentelella Admin Theme
- Responsive Layout
- Bootstrap 4
- USER/ROLES CRUD with ajax and symfony form system 
- Password reset and send email, with link to reset the password
- Authentication system
- Powerful blog management module (CRUD, Change histrory, file upload access control for Writers and Editors )
- FAQ module
- Translation functionality (Easy to set up whatever language you need/use)

# **Requirements**
- PHP >= 8 (8.2.4 used in composer.json)
- Symfony- 6.2.*
- MySQL

**Recent Updates**
- removed sec check : **OK**
- upgraded to symfony 5.4 : **OK**
- next remove depreciations : **OK**
- new symfony security **OK**
- fix data fixtures **OK**
- PHP 8 compatible **OK**
- Annotations replacement for attribute **OK**
- Entities properties are typed now
- **UPDATED TO SYMFONY 6**
- Add FAQ

# **Credits**
- [Gentelella](https://github.com/ColorlibHQ/gentelella) - Admin template project is developed and maintained by [Colorlib](https://colorlib.com/ "Colorlib - Make Your First Blog") and Aigars Silkalns
- Mamour Wane (Mamless) co-founder of [ONETECHSN](https://onetechsn.com) designed and maintened the project so far

# **Third party tools**
- [Rector](https://github.com/rectorphp/rector) nice php open source tool to help upgrade code be compatible with higher version of framework and languages
- [PHP-CS-Fixer](https://github.com/PHP-CS-Fixer/PHP-CS-Fixer) nice php open source tool fixes your code to follow standards (refactor)

## License information
Gentelella is licensed under The MIT License (MIT). Which means that you can use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software. But you always need to state that Colorlib is the original author of this template.

# **SETUP**
1 - Install all dependencies :

~~~
    composer install
~~~


2 - Create database using the next command:
~~~
    php bin/console doctrine:schema:create
~~~


3 - You will need to populate your database using fixtures for login.

Run:

~~~
    php bin/console doctrine:fixtures:load
~~~

And use the next credentials to login.

- Username : "admin"
- Password : "admin"

**ENJOY**

**Latest Updates 15/07/2024 (long time no see)**
- Add rate limiter for password
- Add a new concept of profile for users instead of directly giving roles to user , we create a profile with a set of roles and then link it to the user , now each controller method and each action on twig templates is secured by a dedicated role, the role system is completely configurable as pleased. But we can steal give users roles directly 
- Data fixtures contains all the new roles

**Recent Updates**
- removed sec check : **OK**
- upgraded to symfony 5.4 : **OK**
- next remove depreciations : **OK**
- new symfony security **ok**
- fix data fixtures **ok**
- PHP 8 compatible **ok**
- Annotations replacement for attribute **ok**
- Entities properties are typed now
***
** Updates coming **
- Add contact module : 
- - Read messages in an inbox style **ok**
- - Sort by date and read status
- - Research in contacts
- - load mail with ajax
- Add faker to generate fake data 
- add SEO fields to each entity
- ~~upgrade to symfony 6.4 (the LTS version november 2023)~~
- upgrade to symfony 7 
反馈内容错误

看看同类模板

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