PHPackages                             comingdemon/admin-laravel - 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. comingdemon/admin-laravel

ActiveLibrary

comingdemon/admin-laravel
=========================

Universal PHP admin quick development library for laravel

1.1.6(3y ago)333MITPHPPHP &gt;=7.2.0

Since May 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/magic-create/php_demon_laravel_admin)[ Packagist](https://packagist.org/packages/comingdemon/admin-laravel)[ Docs](http://www.m-create.cn)[ RSS](/packages/comingdemon-admin-laravel/feed)WikiDiscussions master Synced today

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

PHP Demon Admin Library For Laravel
===================================

[](#php-demon-admin-library-for-laravel)

服务说明
----

[](#服务说明)

本服务仅支持Laravel6+（包含7和8）

正常来说是内部开发使用的，外部使用也可以（水平有限，请慎用，可能会有漏洞或者性能问题）

使用的Bootstrap4作为基础前端框架，jQuery版本为3.5

前置说明
----

[](#前置说明)

1. 例子用的是MYSQL5.7（有json字段），如果不需要的话释放迁移后请手动将字段改成text（example\_master.stub）

安装说明
----

[](#安装说明)

> 1. 使用composer安装服务
> 2. 在config/app.php的providers中增加本服务
> 3. 设置admin的数据库连接（默认是admin）以及相关database配置
> 4. 编辑AppServiceProvider文件中的boot方法，增加默认字符长度，用于解决laravel的session表默认字符串255导致无法生成索引的问题，
> 5. 执行命令生成建表迁移文件
> 6. 执行迁移动作生成对应表和初始数据
> 7. 设置静态资源文件目录（不用写public）
> 8. 发布资源到对应目录，设置访问路径（默认是admin）
> 9. 设置静态资源CDN（默认没有，只读本地）
> 10. 大功告成
> 11. 可以在vendor/comingdemon/admin-laravel目录中查看源码用于参考或调试

1. composer require comingdemon/admin-laravel
2. edit config/app.php providers add Demon\\AdminLaravel\\AdminServiceProvider::class
3. edit.env (ADMIN\_CONNECTION) or add config/admin.php (edit connection, default : admin)
4. edit config/database.php : connections add {connection}
5. edit AppServiceProvider boot : Schema::defaultStringLength(191)
6. php artisan admin:table
7. php artisan migrate
8. edit.env (ADMIN\_STATIC) or add config/admin.php (edit static, default : /static/admin)
9. php artisan vendor:publish --tag=admin-all (If only the asset is updated later, --tag=admin-asset)
10. edit.env (ADMIN\_PATH) or add config/admin.php (edit path, default : admin)
11. edit.env (ADMIN\_CDN) or add config/admin.php (edit cdn, default : )
12. browser url {address}/admin or {path}

进阶操作
----

[](#进阶操作)

1. config('admin.access') = env('ADMIN\_ACCESS', false) //开启权限校验（需要数据库支持，默认账号：admin，默认密码：demon）
2. config('admin.authentication') = env('ADMIN\_AUTHENTICATION') //自定义授权控制器
3. config('admin.badge') = env('ADMIN\_BADGE') //自定义菜单标记统计的类
4. config('admin.session.\*') = env('ADMIN\_SESSION\_\*') //设置session配置（和laravel自带的session一致）
5. config('admin.element.\*') = env('ADMIN\_ELEMENT\_\*') //设置页面元素对应的视图

特殊申明
----

[](#特殊申明)

本库已发布至Composer，理论上只内部使用，如有问题请自行解决，概不提供服务

最终解释权归魔网天创信息科技:尘兵所属

###  Health Score

25

—

LowBetter than 40% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~80 days

Recently: every ~94 days

Total

8

Last Release

1223d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3bd4a7243ad128e52583f0bf87d798eb9f095ca7b7d24d2956cebe26aca504f6?d=identicon)[comingdemon](/maintainers/comingdemon)

---

Top Contributors

[![comingdemon](https://avatars.githubusercontent.com/u/20011123?v=4)](https://github.com/comingdemon "comingdemon (115 commits)")

---

Tags

laravel-admincomingdemon

### Embed Badge

![Health badge](/badges/comingdemon-admin-laravel/health.svg)

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

###  Alternatives

[backpack/crud

Quickly build admin interfaces using Laravel, Bootstrap and JavaScript.

3.4k3.3M190](/packages/backpack-crud)[dcat/laravel-admin

dcat admin

4.0k514.1k151](/packages/dcat-laravel-admin)[moell/mojito

Mojito admin is a component of laravel, vue, element build backend system.

49810.7k](/packages/moell-mojito)[laravel-admin-ext/config

Config extension for laravel-admin

97179.4k5](/packages/laravel-admin-ext-config)[laravel-admin-ext/reporter

Exception reporter for laravel

6079.2k](/packages/laravel-admin-ext-reporter)[superv/platform

SuperV Platform Package

2411.4k5](/packages/superv-platform)

PHPackages © 2026

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