PHPackages                             wangdong/laravel-module - 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. wangdong/laravel-module

ActiveLibrary[Framework](/categories/framework)

wangdong/laravel-module
=======================

Laravel模块化 (附带打通lumen和laravel及不同版本限制)

1.4.6(7y ago)02211MITPHP

Since Apr 28Pushed 7y ago1 watchersCompare

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

READMEChangelog (10)Dependencies (3)Versions (30)Used By (1)

laravel-module
==============

[](#laravel-module)

[![Latest Stable Version](https://camo.githubusercontent.com/8b72491306adcdf388515d9f761ba4dfa82ea91da71c00d33ff63290c2289fe0/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6d6f64756c652f76657273696f6e)](https://packagist.org/packages/wangdong/laravel-module)[![Total Downloads](https://camo.githubusercontent.com/a13393365713aaf62be196ea6e57a93fc66b8beb28cf7d66cf146b70ffa906b2/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6d6f64756c652f646f776e6c6f616473)](https://packagist.org/packages/wangdong/laravel-module)[![Latest Unstable Version](https://camo.githubusercontent.com/a9ef893b8de769aa0410e45b7c2683694f395db85020f455e069ad86d79c9b8e/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6d6f64756c652f762f756e737461626c65)](//packagist.org/packages/wangdong/laravel-module)[![License](https://camo.githubusercontent.com/4bfec8792bfaef3b21c76e1b2e5c0225f4e22a83494b9728eb7dc4c2d8b59782/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6d6f64756c652f6c6963656e7365)](https://packagist.org/packages/wangdong/laravel-module)[![composer.lock available](https://camo.githubusercontent.com/9fc6bb3f02a1279d7e8bc9226dffc6f94d8f2a327d6f01a689709c7050864c3c/68747470733a2f2f706f7365722e707567782e6f72672f77616e67646f6e672f6c61726176656c2d6d6f64756c652f636f6d706f7365726c6f636b)](https://packagist.org/packages/wangdong/laravel-module)

Laravel模块化插件

> 支持Laravel和Lumen版本 &gt;= 5.1

配置
--

[](#配置)

1. 安装

    ```
    composer require wangdong/laravel-module

    ```
2. 配置

- Laravel配置(laravel &gt;= 5.5 跳过此步骤)

    ```
    # 文件`config/app.php`增加providers项
    LaravelModule\ServiceProvider::class,

    ```
- Lumen配置

    ```
    # 文件`bootstrap/app.php`增加providers项
    $app->register(LaravelModule\ServiceProvider::class);

    ```

3. 复制

    ```
    php artisan module:publish

    ```

开发
--

[](#开发)

> 生成模块

```
php artisan module:init module/index

```

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity74

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

Total

29

Last Release

2742d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cef441e5e33666466c1b173480ec80a51760a6300da6c5e674b2b7f0273be81f?d=identicon)[wangdong](/maintainers/wangdong)

---

Top Contributors

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

---

Tags

laravellumenmodulelaravel-modulewangdong

### Embed Badge

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

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

###  Alternatives

[laravel/ui

Laravel UI utilities and presets.

2.7k134.9M599](/packages/laravel-ui)[laravel/sail

Docker files for running a basic Laravel application.

1.9k186.9M1.0k](/packages/laravel-sail)[laravel/jetstream

Tailwind scaffolding for the Laravel framework.

4.1k19.8M136](/packages/laravel-jetstream)[laravel/dusk

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

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

Laravel Boost accelerates AI-assisted development by providing the essential context and structure that AI needs to generate high-quality, Laravel-specific code.

3.4k10.6M274](/packages/laravel-boost)[laravel/lumen-framework

The Laravel Lumen Framework.

1.5k26.2M709](/packages/laravel-lumen-framework)

PHPackages © 2026

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