PHPackages                             lldca/swoft-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. lldca/swoft-admin

ActiveLibrary

lldca/swoft-admin
=================

后台系统快速构建工具

v0.1.8(7y ago)702638[1 issues](https://github.com/jqhph/swoft-admin/issues)MITPHPPHP &gt;=7.0

Since Nov 11Pushed 7y ago5 watchersCompare

[ Source](https://github.com/jqhph/swoft-admin)[ Packagist](https://packagist.org/packages/lldca/swoft-admin)[ RSS](/packages/lldca-swoft-admin/feed)WikiDiscussions master Synced 3d ago

READMEChangelog (8)Dependencies (5)Versions (12)Used By (0)

swoft-admin
===========

[](#swoft-admin)

`Swoft Admin`是基于[swoft](https://github.com/swoft-cloud/swoft)框架开发而成的后台系统快速构建工具，使用极少的代码即可构建出一个功能完善的后台系统，性能强悍、代码简洁、易扩展。

> 本项目基于[laravel-admin](http://laravel-admin.org/)重构而成，保留了基本的代码架构和大部分api。主要改动如下：
>
> - 分离了页面构建层和数据层（移除了对框架orm的强绑定）
> - 解决了`pjax`按需加载问题
> - 调整了部分api的用法，使用更方便

[Demo](http://103.45.104.52:8000)|文档|[Demo源码](https://github.com/jqhph/swoft-admin-demo)|[自动集成版](https://github.com/jqhph/swoft-admin-auto)

环境
--

[](#环境)

- PHP 7.0 +
- Swoft 1.0.0最新版本
- Swoole 推荐4.0以上版本

特性
--

[](#特性)

- 基于[swoole](https://www.swoole.com/)，程序常驻内存性能强悍，支持协程（异步IO同步代码）
- `Admin::grid`支持快速构建数据表格
- `Admin::form`支持快速构建数据表单
- 支持代码生成器快速生成CURD代码、语言包、数据库迁移文件、SWOFT实体等
- 支持`Blade`模板引擎, 支持使用路径别名引入静态资源
- 支持`pjax`按需加载构建单页应用
- 支持web debug控制台
- 支持扩展组件，支持插件机制
- 支持数据库版本迁移管理
- 基于[league/flysystem](http://flysystem.thephpleague.com/docs/)上传文件，可以轻松实现远程上传及云服务上传

后端依赖组件
------

[](#后端依赖组件)

- [Swoft](http://www.swoft.org/)
- [league/flysystem](http://flysystem.thephpleague.com/docs/)
- [phinx](http://docs.phinx.org/en/latest/)
- [filp/whoops](http://filp.github.io/whoops/)

前端依赖组件
------

[](#前端依赖组件)

> 注意，为解决前端pjax按需加载功能，本项目修改了`pjax`的代码，请勿升级 同样，为优化按钮布局，`RWD-Table-Patterns`的代码也进行了微调，请勿升级

- [AdminLTE](https://almsaeedstudio.com/)
- [RWD-Table-Patterns](http://gergeo.se/RWD-Table-Patterns/)
- [Datetimepicker](http://eonasdan.github.io/bootstrap-datetimepicker/)
- [font-awesome](http://fontawesome.io)
- [moment](http://momentjs.com/)
- [Google map](https://www.google.com/maps)
- [Tencent map](http://lbs.qq.com/)
- [bootstrap-fileinput](https://github.com/kartik-v/bootstrap-fileinput)
- [jquery-pjax](https://github.com/defunkt/jquery-pjax)
- [Nestable](http://dbushell.github.io/Nestable/)
- [layer弹出层](https://layer.layui.com/)
- [editor.md](https://pandao.github.io/editor.md/)
- [bootstrap-number-input](https://github.com/wpic/bootstrap-number-input)
- [fontawesome-iconpicker](https://github.com/itsjavi/fontawesome-iconpicker)

安装
--

[](#安装)

鉴于目前`swoft`框架注解扫描配置比较繁琐，为此推荐大家使用 [自动集成版](https://github.com/jqhph/swoft-admin-auto)： 开箱即用，免去繁琐的安装步骤，并内置一些基础功能代码，上手更简单。

[手动安装请点我](https://github.com/jqhph/swoft-admin/blob/6aa5d78174647cb524f365b3ac4cc1493ce0885f/docs/zh/install.md)

加入我们
----

[](#加入我们)

如果你对此项目有兴趣，欢迎加入我们。 欢迎大家提建议和pr。

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity26

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 98.8% 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.

###  Release Activity

Cadence

Every ~18 days

Recently: every ~12 days

Total

9

Last Release

2593d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9ea3d2bc0d9483fa8a3bfa3a1e2e04e5f07375ff30a4f1777715e3e9778f3d51?d=identicon)[jqhph](/maintainers/jqhph)

---

Top Contributors

[![jqhph](https://avatars.githubusercontent.com/u/20312339?v=4)](https://github.com/jqhph "jqhph (84 commits)")[![assert6](https://avatars.githubusercontent.com/u/28561563?v=4)](https://github.com/assert6 "assert6 (1 commits)")

---

Tags

swoftswoft admin

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/lldca-swoft-admin/health.svg)

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

###  Alternatives

[laravel/framework

The Laravel Framework.

34.6k509.9M17.0k](/packages/laravel-framework)[spatie/laravel-backup

A Laravel package to backup your application

6.0k21.8M191](/packages/spatie-laravel-backup)[league/flysystem-aws-s3-v3

AWS S3 filesystem adapter for Flysystem.

1.6k263.6M790](/packages/league-flysystem-aws-s3-v3)[knuckleswtf/scribe

Generate API documentation for humans from your Laravel codebase.✍

2.3k12.2M45](/packages/knuckleswtf-scribe)[unisharp/laravel-filemanager

A file upload/editor intended for use with Laravel 5 to 10 and CKEditor / TinyMCE

2.2k3.3M74](/packages/unisharp-laravel-filemanager)[tempest/framework

The PHP framework that gets out of your way.

2.1k23.1k9](/packages/tempest-framework)

PHPackages © 2026

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