单应用内同时提供前台网站、AdminLTE v3 管理后台与 RESTful API 三个站点入口
JACAT — HTML 后台模板
作者 Akir4d
JACAT 是一个基于 CodeIgniter 与 AdminLTE3 的多站点后台模板,在同一套应用中同时提供前台、管理后台与 API 三个入口,并集成 Grocery CRUD、Ion Auth、Swagger 等工具。
看看你的网站会是什么样
浏览真实页面截图,比较内容排版与手机效果。点击下方缩略图切换,放大查看整页细节。
目前有 1 张原始预览,可打开完整图片查看设计细节。
截图用于了解视觉与布局,交互效果请以实际项目为准。
值得关注的模板亮点
从已有项目资料中,快速了解它的特点。
采用 CodeIgniter HMVC 模块化结构,admin、adminlte、api 等模块可独立组织控制器、模型与视图
集成 Ion Auth 认证、Grocery CRUD 与 Image CRUD,管理后台可直接生成数据表格与图片管理界面
API 模块内置 Swagger UI,并借助 swagger-php 注解生成接口文档
提供 gulp 资源流水线任务,涵盖图片压缩、CSS/JS 合并压缩与文件监听
预置博客分页、封面图轮播、表单构建、面包屑、分页、多语言与邮件配置等基础能力
模板详细介绍
JACAT(Just Another CodeIgniter/AdminLTE template)是一个起步模板,目标是在单个 CodeIgniter 应用中同时承载前台网站、管理后台和 API 站点。它是已停止维护的 CodeIgniter 3 Bootstrap 项目的分支,采用 HMVC 模块化结构,管理后台使用 AdminLTE v3 主题。README 说明项目仍在开发中,作者欢迎提交 issue,但未提供在线演示(Demo Project 标注为 Coming Soon)。
模板内置的功能包括:前台与管理后台两套用户认证(注册、登录、找回密码、修改密码等)、基于 Grocery CRUD 的 CRUD 表格、Image CRUD 图片管理、Swagger UI 的 API 文档、博客与封面图(轮播)的预设数据结构、表单构建库、面包屑与分页、多语言、邮件配置,以及可从命令行调用的函数(如定时任务、数据库备份)。资源构建通过 gulp 任务完成,包含图片压缩、CSS/JS 合并压缩等。
使用上有一些明确限制:服务端环境建议 PHP 7.0+、启用 rewrite 模块的 Apache 2.2+、MySQL 5.5+,README 注明未在 MariaDB 上测试。安装需手动创建数据库、复制并修改数据库配置,再访问 /upgrade 初始化表与默认数据。后台预置 webmaster、admin、manager、staff 四个账号,默认用户名与密码相同,正式使用前应修改。项目最后构建时间为 2020-03-28,仓库更新停留在 2022 年初。
适合你的项目吗?
适用场景
- 需要在一个 CodeIgniter 项目中同时维护前台、后台和 API 的中小型站点起步开发
- 希望用 AdminLTE v3 主题快速搭建带 CRUD 表格和图片管理的管理后台
- 需要为已有 RESTful 接口补充 Swagger 文档页面的项目
- 想参考 HMVC 模块划分、Ion Auth 权限分组或 gulp 资源构建方式的 PHP 开发者
适合人群
- 熟悉 PHP 与 CodeIgniter 框架、能自行阅读和修改源码的开发者
- 需要多站点(前台/后台/API)共用一套代码库与数据库的站点项目
- 接受在起步模板基础上二次开发、而非开箱即用成品系统的团队
上手与定制指南
结合仓库当前版本的说明,按下面的资料检查内容、配置与运行要求。
- 1
服务端建议 PHP 7.0+、启用 rewrite 模块的 Apache 2.2+ 与 MySQL 5.5+,README 注明未在 MariaDB 上充分测试
- 2
克隆仓库后需创建数据库,将 application/config/database.model.php 复制为 database.php 并填写连接信息
- 3
访问站点路径 /upgrade 初始化数据表与默认配置数据,升级旧版本同样走该入口
- 4
后台预置 webmaster、admin、manager、staff 四个账号,默认用户名与密码相同,部署后应立即修改
- 5
上传目录 assets/uploads 需要可写权限;assets/dist 由 gulp 任务生成,不应手动编辑
授权与来源资料
使用条件与限制
免费使用 · 保留许可声明本次收录的是公开仓库中采用 MIT 许可的免费版本;免费范围为该版本代码,不代表外部服务或第三方素材免费。
使用时需要遵守
- 允许免费使用、修改、商用和分发该版本代码。
- 分发代码副本或实质性部分时,保留原作者版权声明和完整 MIT 许可声明。
- 代码按现状提供;担保与责任限制以原许可证及适用法律为准。
额外费用与待核对事项
- 服务端环境要求 PHP 7.0 及以上版本,低于该版本的 PHP 环境无法运行。
- 推荐使用 Apache 2.2+ 并启用 rewrite 模块,其他 Web 服务器环境未充分测试。
- 数据库要求 MySQL 5.5+,README 明确说明未在 MariaDB 上测试,使用 MariaDB 可能存在问题。
- 安装需访问 /upgrade 路径初始化数据表与默认数据,该入口在部署后应妥善处理。
- 后台预置 webmaster、admin、manager、staff 四个账号,默认用户名与密码相同,正式使用前必须修改。
- 邮件配置默认使用 Mailgun 外部服务,实际发信需自行配置 Mailgun 账号与 API 密钥。
- 项目仍处于开发中状态,README 未承诺生产可用性,使用前需自行评估稳定性。
- README 的 Demo Project 标注为 Coming Soon,未提供在线演示环境。
- 演示图片、字体、图标及其他第三方素材需按各自许可核对,不能仅凭代码的 MIT 许可判断。
- 域名、托管、数据库、支付或 AI 等外部服务可能另外收费。
查看原文依据
Permission is hereby granted, free of charge
许可证原文
**PHP 7.0+**
README 原文
**Apache 2.2+** with rewrite mod enabled
README 原文
**MySQL 5.5+** (not tested on MariaDB)
README 原文
go to your-new-site/upgrade to install database with new tables and default configuration datas.
README 原文
Webmaster (default username & password are both "webmaster", belongs to the webmaster group)
README 原文
email.php --- Created to centralize email configuration (default: using Mailgun)
README 原文
**Note: This project is still in progress, but welcome for any issues encountered**
README 原文
https://github.com/Akir4d/JACAT/blob/master/LICENSEhttps://github.com/Akir4d/JACAT/blob/master/README.md* Coming Soon...
README 原文
DeepSeek 根据仓库许可证和 README 整理 ·2026-10-03。结果仅覆盖已读取资料,依赖、图片、字体及后续条款变更以各自原文为准。
项目核对记录与介绍依据
模板资料
- 来源平台
- GitHub
- 资料与维护参考分
- 资料一般 · 60 / 100
- 技术栈
- HTML
- 网站类型
- 后台
这个分数如何计算
本站按许可资料(最高30分)、演示链接(12分)、预览图(10分)、Star数(15分)、记录的维护时间(15分)、描述完整度(8分)、功能记录(5分)和分类资料(5分)计算。它不是代码、安全或性能测试,也不是 Google 评分;有链接不代表已实测可用。
这个项目需要核对什么
- 记录的仓库更新时间
- 2022-01-18
- 截图检查日期
- 2026-10-03
目前没有记录演示链接。请依据仓库说明在本地评估;仅凭截图无法确认交互行为。
目录记录的主要技术栈是 HTML。请通过依赖清单和锁文件核对实际版本与托管要求。这些说明基于收录资料,不代表代码审计或部署实测。
查看具体选型方法 →介绍的制作与核对状态
介绍由 AI 辅助整理目录与仓库资料。仓库作者不等于这篇介绍的审核者。
已完成服务器许可规则与 AI 来源核对;未经过人工编辑审核。
查看当时使用的来源资料
SHA-256: f84476ecd8583870e8d2bcb42faa09124dedb44e1064b7da11770326ba0ddc64
2026-10-03T00:02:25.833Z
来源文件 / 仓库## JACAT (Just Another CodeIgniter/AdminLTE template)
**Latest Build: 2020-03-28**
**Note: This project is still in progress, but welcome for any issues encountered**
A starter template that supports multi-tenant (Frontend / Admin Panel / API) website in a single application. This is a fork of abandoned [CodeIgniter 3 Bootstrap](https://github.com/waifung0207/ci_bootstrap_3).
If you plan to upgrade form original you have to use [sql/upgrade_from_old_codeigniter_3_bootstrap.sql](sql/upgrade_from_old_codeigniter_3_bootstrap.sql) and also check the changes inside [application/modules/admin/config/ion_auth.php](application/modules/admin/config/ion_auth.php)
This repository is developed upon the following tools:
* [CodeIgniter](http://www.codeigniter.com/) (3.1.11) - PHP framework
* [CodeIgniter HMVC Extensions](https://bitbucket.org/wiredesignz/codeigniter-modular-extensions-hmvc) - modular structure by [wiredesignz](http://wiredesignz.co.nz/)
* [codeigniter-base-model](https://github.com/jamierumbelow/codeigniter-base-model) - more advanced CRUD functions for models by [jamierumbelow](https://github.com/jamierumbelow)
* [codeigniter-restserver](https://github.com/chriskacerguis/codeigniter-restserver) - base setup for API module
* [Ion Auth](http://benedmunds.com/ion_auth) - (3.0) authentication library for CodeIgniter by [Ben Edmunds](http://benedmunds.com/)
* [Bootstrap](http://getbootstrap.com/) (4.4.1) - popular frontend framework
* [Grocery CRUD](http://www.grocerycrud.com/) (custom based on v1.6.3) - feature-rich library to build CRUD tables
* [Image CRUD](http://www.grocerycrud.com/image-crud) (v0.8) - CRUD library for image management
* [AdminLTE](https://github.com/almasaeed2010/AdminLTE) (3.0.2) - bootstrap theme for Admin Panel
### Features
This repository contains setup for rapid development:
* Multi-tenant (e.g. Frontend Website, Admin Panel, API) website in single application
* Modular design by CodeIgniter HMVC extension
* Custom config files (sites.php, locale.php) for easy configuration of website behavior
* Admin Panel with AdminLTE v3 theme, and Grocery CRUD integration
* Admin Panel includes usage of [Sortable](http://rubaxa.github.io/Sortable/) library
* API Site with [Swagger](http://swagger.io/) UI integrated, via annotations supported by [swagger-php](https://github.com/zircote/swagger-php) library
* API Site to handle RESTful endpoints, with shortcut functions to grab parameters and display results
* User authentication for Frontend Website (Sign Up, Login, Forgot Password, etc.)
* User authentication for Admin Panel (Login, Change Password, etc.)
* Preset layouts and templates
* Preset asset pipeline (e.g. minify scripts, image optimization) via gulp (reference from [gulp-starter](https://github.com/greypants/gulp-starter))
* Preset data structure for Blogging (with pagination) and Cover Photos (carousel), which can be managed from Admin Panel
* Form Builder library to help with form rendering with Bootstrap theme, form validation, etc.
* Breadcrumb and Pagination handling fit with Bootstrap theme
* Custom 404 pages for Frontend Website and Admin Panel
* Multilingual support
* Email config setup
* Functions to be called from CLI (e.g. daily cron job, database backup)
* ... more coming!
### Demo Project
* Coming Soon...
### Server Environment
Below configuration are preferred; other environments are not well-tested, but still feel free to report and issues.
* **PHP 7.0+**
* **Apache 2.2+** with rewrite mod enabled
* **MySQL 5.5+** (not tested on MariaDB)
### Setup Guide
1. git clone this repo
2. Create a database (e.g. named "jacat"), into MySQL server
3. Inside /application/config/ copy "database.model.php" as "database.php" and make sure that database config is set correctly
4. go to your-new-site/upgrade to install database with new tables and default configuration datas.
5. You should be able to access Frontend Website, Admin Panel and API Site (with Swagger Doc) respectively
6. Visit the Demo Controllers (exist in both Frontend / Admin Panel / API) for sample usage
### Upgrade database from prevoius version
1. go to your-new-site/upgrade to upgrade database tables
### Admin Users (and default login accounts)
There are 4 preset users for Admin Panel:
* Webmaster (default username & password are both "webmaster", belongs to the webmaster group)
* Admin (default username & password are both "admin", belongs to the admin group)
* Manager (default username & password are both "manager", belongs to the manager group)
* Staff (default username & password are both "staff", belongs to the staff group)
### Folder Structure
Explanation on the folder structure which supports HMVC (only showing the highlighted folders and files).
```
application/ --- Main CodeIgniter source files
config/
production/ --- Configuration when ENVIRONMENT is set as "production"
autoload.php --- By default, some files are loaded for this repo
jacat.php --- Core configuration file for all sites
database.php --- Need to verify to ensure connection with MySQL database
email.php --- Created to centralize email configuration (default: using Mailgun)
form_validation.php --- Created to centralize validation forms for all forms, include ReCAPTCHA settings
routes.php --- Changed default controller from Welcome to Home
controllers/ --- Controllers for Frontend Website; extends from MY_Controller (except Cli)
Cli.php --- Utility function that can only be called from command line
Home.php --- Default controller for Frontend Website
core/ --- Extending CodeIgniter core classes; can also be used within modules
MY_Controller.php --- Important class which contains shared logic of all controllers
MY_Loader.php --- Required for HMVC extension
MY_Model.php --- Contains shared function for model classes
MY_Router.php --- Required for HMVC extension
helpers/ --- Contains custom helper functions being used throughout this repo
language/ --- Preset language files
libraries/ --- Custom libraries (e.g. Form Builder, System Message)
MY_Email.php --- Enhanced email library, includes work with Mailgun API
models/ --- Sample model extending from MY_Model
modules/ --- Each module can be accessed by http://{base_url}/{module_name}/{module_controller}/, etc.
admin/ --- Module for Admin Panel
config/ --- Configuration for Admin Panel (overriding application/config/)
controllers/ --- Controllers for Admin Panel; also extends from MY_Controller
libraries/ --- Libraries specific for Admin Panel
models/ --- Models only being used in Admin Panel
views/ --- Views for Admin Panel; can reuse Frontend views, or override by using same path/filename
adminlte/ --- Module with AdminLTE widgets
api/ --- Another module specific for API endpoints
third_party/ --- 3rd party files (HMVC extension, Grocery CRUD, Rest Server, etc.)
views/ --- Views for Frontend Website, can also be used by modules unless overrided
assets/ --- Folder for public files
api/ --- Swagger UI assets
dist/ --- Post-processed scripts and images via gulp tasks (don't manually edit files here!)
grocery_crud/ --- Asset files from Grocery CRUD library
image_crud/ --- Asset files from Image CRUD library
uploads/ --- Default folder for upload files, where permission should set as writable
gulpfile.js/ --- Task runner following gulp-starter practice
tasks/ --- Gulp tasks
config.js --- Configuration for Gulp tasks
screenshots/ --- Screenshot images for preview
sql/ --- MySQL files
backup/ --- Files which will be created when backup database from CLI
core/ --- Files contains core data (e.g. Ion Auth)
latest.sql --- Latest version of all preset data
src/ --- Folder for non-public source files
css/ --- Custom CSS files append to each site
images/ --- Source image files before optimization
js/ --- Custom CSS files append to each site
sass/ --- SASS files for styling
theme/ --- Default folder for additional theme files
system/ --- CodeIgniter core files (unchanged as clean CI3 installation)
.htaccess --- URL rewrite for Apache web server (require mod enabled)
```
### Preset Gulp Tasks
The gulpfile.js folder is prepared with following tasks available:
* **default**: run **build** task first, then **watch** for file change
* **build**: run **imagemin**, **cssmin** and **uglify** tasks in parallel
* **rebuild**: run **clean** task first, then **copy**, **imagemin**, **cssmin** and **uglify** tasks in parallel
* **clean**: remove all files inside the dist folder (default: /assets/dist)
* **copy**: copy required files to dist folder
* **cssmin**: concat and minify CSS files
* **imagemin**: optimize images (jpg, png, gif, svg) and output to dist folder (default: /assets/dist/images)
* **uglify**: concat and minify (uglify) JS files
* **watch**: monitor JS / CSS / image files and execute specific tasks upon changes
### Screenshots
Admin Panel - Home:


Frontend - Home:

More screenshots can be viewed from the [screenshots folder](https://github.com/Akir4d/JACAT/blob/master/screenshots/) under this repository.
看看同类模板
对比同技术栈与用途的模板,找到更适合的视觉与内容结构。

gentelella
Free admin dashboard template — vanilla JS, SCSS, Vite 8. No Bootstrap, no jQuery.
HTML · 后台

coreui-free-bootstrap-admin-template
Free Bootstrap Admin & Dashboard Template Built for AI-Assisted Development
HTML · 后台

dashboards
Responsive dashboard templates 📊✨
HTML · 后台

SB Admin 2
SB Admin 2 是 Start Bootstrap 推出的开源后台模板,基于 Bootstrap 构建,整体风格偏向经典管理界面。
HTML · 后台

Adminator-admin-dashboard
Adminator is easy to use and well design admin dashboard template with dark mode for web apps, websites, servi…
HTML · 后台

SB Admin
SB Admin 是 Start Bootstrap 推出的开源后台管理模板,基于 Bootstrap 构建,定位是简洁、实用的管理界面。
HTML · 后台
