PHPackages                             ufucms/ufu-admin - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Framework](/categories/framework)
4. /
5. ufucms/ufu-admin

ActiveLibrary[Framework](/categories/framework)

ufucms/ufu-admin
================

基于 laravel、amis 开发的后台框架~

05PHP

Since Sep 3Pushed 1y agoCompare

[ Source](https://github.com/ufucms/ufu-admin)[ Packagist](https://packagist.org/packages/ufucms/ufu-admin)[ RSS](/packages/ufucms-ufu-admin/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

 [![](./admin-views/public/logo.png)](./admin-views/public/logo.png) UFU Admin
===========

[](#--------ufu-admin----)

####  快速且灵活的后台框架

[](#--------快速且灵活的后台框架----)

### 项目介绍

[](#项目介绍)

基于 `Laravel` 、 `amis` 开发的后台框架, 快速且灵活~

- 基于 amis 以 json 的方式在后端构建页面，减少前端开发工作量，提升开发效率。
- 在 amis 150多个组件都不满足的情况下, 可自行开发前端。
- 框架为前后端分离 (不用再因为框架而束手束脚~)。

### 内置功能

[](#内置功能)

- 基础后台功能
    - 后台用户管理
    - 角色管理
    - 权限管理
    - 菜单管理
- **代码生成器**
    - 保存生成记录
    - 导入/导出生成记录
    - 可使用命令清除生成的内容
    - 无需更改代码即可生成完整功能
- `amis` 全组件封装 150+ , 无需前端开发即可完成复杂页面
- 多模块支持
- 图形化扩展管理

### 安装

[](#安装)

> 👉 **注意: `UfuAdmin` 是 `laravel` 的扩展包, 安装前请确保你会使用 `laravel`**

##### 1. 创建 `laravel` 项目

[](#1-创建-laravel-项目)

```
composer create-project laravel/laravel example-app
```

##### 2. 配置数据库信息

[](#2-配置数据库信息)

```
# .env

APP_TIMEZONE=Asia/Shanghai

APP_LOCALE=zh_CN

DB_CONNECTION=mysql
DB_HOST=127.0.0.1
DB_PORT=3306
DB_DATABASE=ufucms
DB_USERNAME=root
DB_PASSWORD=
```

> 如果使用的是MySQL的utf8mb4字符集，需要在文件`app\Providers\AppServiceProvider.php`中增加以下代码

```
    public function boot(): void
    {
        \Schema::defaultStringLength(191);
    }
```

> 如果你使用的是 laravel 11 , 还需要执行: `php artisan install:api`

##### 3. 获取 `UFU Admin`

[](#3-获取-ufu-admin)

```
composer require ufucms/ufu-admin:dev-master
```

##### 4. 安装

[](#4-安装)

```
# 先发布框架资源
php artisan admin:publish
# 执行安装 (可以在执行安装命令前在 config/admin.php 中修改部分配置)
php artisan admin:install
```

##### 5. 运行项目

[](#5-运行项目)

启动服务, 访问 `/admin` 路由即可
*初始账号密码都是 `admin`*

感谢 [**Slowlyo**](https://github.com/slowlyo) 开源[**owl-admin**](https://github.com/Slowlyo/owl-admin)项目，使得[**ufu-admin**](https://github.com/ufucms/ufu-admin)可以站在巨人的肩膀上剑指苍穹。

###  Health Score

16

—

LowBetter than 5% of packages

Maintenance28

Infrequent updates — may be unmaintained

Popularity4

Limited adoption so far

Community16

Small or concentrated contributor base

Maturity17

Early-stage or recently created project

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c897d774b93c47cb71dc945b4a93759d821da4fa048c0a272cabccc60283dc8?d=identicon)[ufucms](/maintainers/ufucms)

---

Top Contributors

[![slowlyo](https://avatars.githubusercontent.com/u/94038215?v=4)](https://github.com/slowlyo "slowlyo (500 commits)")[![1821725017](https://avatars.githubusercontent.com/u/70249774?v=4)](https://github.com/1821725017 "1821725017 (220 commits)")[![maliang](https://avatars.githubusercontent.com/u/367390?v=4)](https://github.com/maliang "maliang (5 commits)")[![iwzh](https://avatars.githubusercontent.com/u/9714125?v=4)](https://github.com/iwzh "iwzh (4 commits)")[![wxfjamdc](https://avatars.githubusercontent.com/u/15729498?v=4)](https://github.com/wxfjamdc "wxfjamdc (3 commits)")[![lphkxd](https://avatars.githubusercontent.com/u/16346895?v=4)](https://github.com/lphkxd "lphkxd (3 commits)")[![luscio](https://avatars.githubusercontent.com/u/28890600?v=4)](https://github.com/luscio "luscio (3 commits)")[![khs1001](https://avatars.githubusercontent.com/u/33382856?v=4)](https://github.com/khs1001 "khs1001 (2 commits)")[![NotMings](https://avatars.githubusercontent.com/u/57120572?v=4)](https://github.com/NotMings "NotMings (2 commits)")[![taotecode](https://avatars.githubusercontent.com/u/48904825?v=4)](https://github.com/taotecode "taotecode (2 commits)")[![iceqi](https://avatars.githubusercontent.com/u/3378315?v=4)](https://github.com/iceqi "iceqi (1 commits)")[![Itinysun](https://avatars.githubusercontent.com/u/5356264?v=4)](https://github.com/Itinysun "Itinysun (1 commits)")[![ennnnny](https://avatars.githubusercontent.com/u/9587073?v=4)](https://github.com/ennnnny "ennnnny (1 commits)")[![wowthree](https://avatars.githubusercontent.com/u/44710940?v=4)](https://github.com/wowthree "wowthree (1 commits)")[![asundust](https://avatars.githubusercontent.com/u/6573979?v=4)](https://github.com/asundust "asundust (1 commits)")[![MaleWeb](https://avatars.githubusercontent.com/u/20508968?v=4)](https://github.com/MaleWeb "MaleWeb (1 commits)")

### Embed Badge

![Health badge](/badges/ufucms-ufu-admin/health.svg)

```
[![Health](https://phpackages.com/badges/ufucms-ufu-admin/health.svg)](https://phpackages.com/packages/ufucms-ufu-admin)
```

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
