PHPackages                             sanlilin/admin-plugins - 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. [Admin Panels](/categories/admin)
4. /
5. sanlilin/admin-plugins

ActiveLibrary[Admin Panels](/categories/admin)

sanlilin/admin-plugins
======================

A Laravel plugin system for modular development.

1.6(1y ago)013MITPHPPHP ^8.2

Since May 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/WHBLeer/admin-plugins)[ Packagist](https://packagist.org/packages/sanlilin/admin-plugins)[ RSS](/packages/sanlilin-admin-plugins/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (6)Dependencies (2)Versions (15)Used By (0)

Admin Plugin
============

[](#admin-plugin)

关于
--

[](#关于)

Admin Plugin是一个插件机制解决方案，为需要建立自己的生态系统的开发人员，有了它，你可以建立一个插件化的生态系统。它可以帮助您如下:

- 加载插件基于服务注册。
- 通过命令行，插件开发人员可以轻松快速地构建插件并将插件上传到插件市场。
- 提供插件编写器包支持。在创建的插件中单独引用composer。
- 以事件监控的方式执行插件的安装、卸载、启用、禁用逻辑。易于开发人员扩展。
- 插槽式插件市场支持，通过修改配置文件，开发者可以无缝连接到自己的插件市场。
- 附带一个基本的插件市场，开发人员可以上传插件并对其进行审查。

适用环境
----

[](#适用环境)

```
"php": "^8.2",
"ext-zip": "*",
"laravel/framework": "^11.0",
"spatie/laravel-permission": "^6.12",
```

安装
--

[](#安装)

- Step 1

```
composer require sanlilin/admin-plugin
php artisan plugins-system:install
php artisan migrate
```

Use
---

[](#use)

- 创建插件

```
php artisan make:plugin ArticlePlugin
```

- 重启插件

```
php artisan plugin:restart ArticlePlugin
```

- 创建插件控制器

```
php artisan plugin:make-controller ArticlePlugin ArticleController
```

- 创建插件模型

```
php artisan plugin:make-model ArticlePlugin Article --migration
```

- 运行插件迁移

```
php artisan plugin:migrate ArticlePlugin
```

- 回滚插件迁移

```
php artisan plugin:rollback ArticlePlugin
```

- 删除插件

```
php artisan plugin:delete ArticlePlugin
```

- 图形界面管理 访问 /admin/plugins

- 查看所有插件列表
- 上传 ZIP 格式的插件包
- 启用/禁用/重启插件
- 配置插件设置
- 删除插件

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance49

Moderate activity, may be stable

Popularity5

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity57

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 ~0 days

Total

14

Last Release

375d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6aa8ddf5aa785926032d7c2cf0475d59a7f1a76a03ec9bf482f371be01cbe558?d=identicon)[WHBLeer](/maintainers/WHBLeer)

---

Top Contributors

[![WHBLeer](https://avatars.githubusercontent.com/u/30891605?v=4)](https://github.com/WHBLeer "WHBLeer (21 commits)")

### Embed Badge

![Health badge](/badges/sanlilin-admin-plugins/health.svg)

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

###  Alternatives

[savannabits/jetstream-inertia-generator

Admin CRUD generator using Laravel Jetstream, Inertiajs, Vue.js, Pagetables and Tailwindcss

1211.1k](/packages/savannabits-jetstream-inertia-generator)

PHPackages © 2026

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