PHPackages                             wangdong/laravel-easyui - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. wangdong/laravel-easyui

ActiveLaravel-module[Utility &amp; Helpers](/categories/utility)

wangdong/laravel-easyui
=======================

module for laravel-module

1.0.7(5y ago)0781MITJavaScriptCI failing

Since Sep 10Pushed 5y ago1 watchersCompare

[ Source](https://github.com/repertory/laravel-easyui)[ Packagist](https://packagist.org/packages/wangdong/laravel-easyui)[ RSS](/packages/wangdong-laravel-easyui/feed)WikiDiscussions master Synced yesterday

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

laravel-easyui
==============

[](#laravel-easyui)

[![Latest Stable Version](https://camo.githubusercontent.com/964410afe99ecd8f67bd6c4ff7579c6e5e8db01c414be9a12f23091d64547950/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6561737975692f76657273696f6e)](https://packagist.org/packages/wangdong/laravel-easyui)[![Total Downloads](https://camo.githubusercontent.com/d8fd25e1608c8adea1ffa6219c828f44dda2ea02e27db4bb49b12ff28a2c5ad9/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6561737975692f646f776e6c6f616473)](https://packagist.org/packages/wangdong/laravel-easyui)[![Latest Unstable Version](https://camo.githubusercontent.com/37a06abcbf0d05337cfffe5c369bdf982ec37a0e08aa48d25ed630dd7fde7635/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6561737975692f762f756e737461626c65)](//packagist.org/packages/wangdong/laravel-easyui)[![License](https://camo.githubusercontent.com/291770ef6da3e33db18e93bccca81f6a3be9f28e3b2c00f5fa61c7b319531d56/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6561737975692f6c6963656e7365)](https://packagist.org/packages/wangdong/laravel-easyui)[![composer.lock available](https://camo.githubusercontent.com/b09a54a721d81fa691883eae60da36e8f8a1e4fe33687e47d26824358f2ed05e/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6561737975692f636f6d706f7365726c6f636b)](https://packagist.org/packages/wangdong/laravel-easyui)

laravel-module插件easyui模块

安装
--

[](#安装)

```
composer require wangdong/laravel-easyui

```

配置
--

[](#配置)

1. 配置`wangdong/laravel-module`包，参考
2. 修改`config/module.php`文件如下

    ```
    return [
        // 路由配置
        'route' => [
            'default' => 'laravel/easyui',
            'prefix' => 'admin', // TODO 留空时需要屏蔽默认的首页路由
            'middleware' => [],
        ],

        // 复制文件(支持闭包)
        'publishes' => function () {
            return [
                module_path('laravel/easyui', 'config') => base_path('config'),
                module_path('laravel/easyui', 'database') => base_path('database'),
                module_path('laravel/easyui', 'public') => base_path('public'),
            ];
        },

        // 命令配置(支持闭包)
        'commands' => [
            Module\Laravel\Easyui\Commands\Init::class,
            Module\Laravel\Easyui\Commands\Migrate::class,
        ],

        // 模块配置，可通过module_config方法获取
        'modules' => [
            // TODO 按照group_name/module_name格式配置(覆盖composer.json > extra.laravel-module.config)
            'laravel' => [
                'easyui' => [
                    'name' => '后台管理系统',
                    'theme' => 'metro',
                    'import' => [
                        'styles' => [],
                        'scripts' => [],
                    ],
                ]
            ]
        ],
    ];
    ```
3. 执行`php artisan module:publish` 复制模块文件
4. 执行`composer dumpautoload` 处理上一步中新增的类
5. 执行`php artisan laravel.easyui:migrate` 初始化模块数据

Lumen配置
-------

[](#lumen配置)

> 文件`bootstrap/app.php`

```
$app->middleware([
    Illuminate\Session\Middleware\StartSession::class
]);
$app->configure('auth');
$app->configure('module');
$app->configure('session');
$app->bind(Illuminate\Session\SessionManager::class, function ($app) {
    return $app->make('session');
});
$app->register(Illuminate\Cookie\CookieServiceProvider::class);
$app->register(Illuminate\Redis\RedisServiceProvider::class);
$app->register(Illuminate\Session\SessionServiceProvider::class);
$app->register(LaravelModule\ServiceProvider::class);

```

开发
--

[](#开发)

1. 创建模块 `php artisan laravel.easyui:init group_name/module_name`
2. 配置文件 `module/group_name/module_name/composer.json`

隔离
--

[](#隔离)

ajax页面关键字 `:module`

```

    $('.easyui-panel', ':module').panel('options');

    :module .easyui-panel { }

```

###  Health Score

29

—

LowBetter than 57% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity67

Established project with proven stability

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

Recently: every ~196 days

Total

7

Last Release

2066d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/9663?v=4)[Wang Dong](/maintainers/wangdong)[@wangdong](https://github.com/wangdong)

---

Top Contributors

[![repertory](https://avatars.githubusercontent.com/u/15153082?v=4)](https://github.com/repertory "repertory (20 commits)")

### Embed Badge

![Health badge](/badges/wangdong-laravel-easyui/health.svg)

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

###  Alternatives

[anahkiasen/former

A powerful form builder

1.3k1.4M14](/packages/anahkiasen-former)[prologue/alerts

Prologue Alerts is a package that handles global site messages.

3486.4M36](/packages/prologue-alerts)[illuminate/http

The Illuminate Http package.

11937.2M6.6k](/packages/illuminate-http)[flarum/core

Delightfully simple forum software.

201.4M2.2k](/packages/flarum-core)[esensi/core

The foundational components of Esensi

222.1k](/packages/esensi-core)

PHPackages © 2026

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