PHPackages                             hoai/laravel-modules-main - 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. hoai/laravel-modules-main

ActiveLibrary

hoai/laravel-modules-main
=========================

Laravel Module management

4.0.7(7y ago)1513↓50%MITPHPPHP &gt;=7.1

Since Jun 29Pushed 7y ago1 watchersCompare

[ Source](https://github.com/hoai/laravel-modules)[ Packagist](https://packagist.org/packages/hoai/laravel-modules-main)[ RSS](/packages/hoai-laravel-modules-main/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependencies (7)Versions (64)Used By (0)

Laravel-Modules
===============

[](#laravel-modules)

[![Latest Version on Packagist](https://camo.githubusercontent.com/9d3097f3a98d82e54ecc9263a17e975aaac3ec94bfc09c7b252341abdfc0a58a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6e7769646172742f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nwidart/laravel-modules)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/00f1b2365fd38bfa8b9ea9d2216c51f9002e56741a53e136b9e1f766f2447d35/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6e5769646172742f6c61726176656c2d6d6f64756c65732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/nWidart/laravel-modules)[![Scrutinizer Coverage](https://camo.githubusercontent.com/52e78f479efe5bc2827ac89f529a02cd78537180892c59da2866b50a91dc7825/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6e5769646172742f6c61726176656c2d6d6f64756c65732e7376673f6d61784167653d3836343030267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nWidart/laravel-modules/?branch=master)[![SensioLabsInsight](https://camo.githubusercontent.com/03e2e7bc2797f037c0a1869dc105899f2e38ae54fb1764bac672ed8cfae9bbe8/68747470733a2f2f696d672e736869656c64732e696f2f73656e73696f6c6162732f692f32353332306130382d386166342d343735652d613233652d3333323166353562663864322e7376673f7374796c653d666c61742d737175617265)](https://insight.sensiolabs.com/projects/25320a08-8af4-475e-a23e-3321f55bf8d2)[![Quality Score](https://camo.githubusercontent.com/52be046b8acd6562334cb1dff0a8c474faa25d406ecf0520106aac54382ea2fe/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6e5769646172742f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/nWidart/laravel-modules)[![Total Downloads](https://camo.githubusercontent.com/e52342f289b5b2c9b918e0d9466b7d5155003e14b50719b138cee578fc7395fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6e7769646172742f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/nwidart/laravel-modules)

**Laravel****laravel-modules**5.4^1.05.5^2.05.6^3.05.7^4.0`nwidart/laravel-modules` is a Laravel package which created to manage your large Laravel app using modules. Module is like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 5.

This package is a re-published, re-organised and maintained version of [pingpong/modules](https://github.com/pingpong-labs/modules), which isn't maintained anymore. This package is used in [AsgardCMS](https://asgardcms.com/).

With one big added bonus that the original package didn't have: **tests**.

Find out why you should use this package in the article: [Writing modular applications with laravel-modules](https://nicolaswidart.com/blog/writing-modular-applications-with-laravel-modules).

Install
-------

[](#install)

To install through Composer, by run the following command:

```
composer require nwidart/laravel-modules
```

The package will automatically register a service provider and alias.

Optionally, publish the package's configuration file by running:

```
php artisan vendor:publish --provider="Nwidart\Modules\LaravelModulesServiceProvider"
```

### Autoloading

[](#autoloading)

By default the module classes are not loaded automatically. You can autoload your modules using `psr-4`. For example:

```
{
  "autoload": {
    "psr-4": {
      "App\\": "app/",
      "Modules\\": "Modules/"
    }
  }
}
```

**Tip: don't forget to run `composer dump-autoload` afterwards.**

Documentation
-------------

[](#documentation)

You'll find installation instructions and full documentation on .

Credits
-------

[](#credits)

- [Nicolas Widart](https://github.com/nwidart)
- [gravitano](https://github.com/gravitano)
- [All Contributors](../../contributors)

About Nicolas Widart
--------------------

[](#about-nicolas-widart)

Nicolas Widart is a freelance web developer specialising on the Laravel framework. View all my packages [on my website](https://nwidart.com/), or visit [my website](https://nicolaswidart.com).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

34

↑

LowBetter than 77% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 81.5% 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 ~14 days

Recently: every ~1 days

Total

62

Last Release

2722d ago

Major Versions

0.12.0 → 1.13.02016-09-09

1.27.2 → 2.0.02017-08-31

2.0.x-dev → 3.0.02018-02-14

1.0.x-dev → 3.2.12018-04-16

3.0.x-dev → 4.0.02018-11-20

PHP version history (3 changes)0.1PHP &gt;=5.5

2.0.0PHP &gt;=7.0

3.0.0PHP &gt;=7.1

### Community

Maintainers

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

---

Top Contributors

[![nWidart](https://avatars.githubusercontent.com/u/882397?v=4)](https://github.com/nWidart "nWidart (464 commits)")[![Kyslik](https://avatars.githubusercontent.com/u/2067589?v=4)](https://github.com/Kyslik "Kyslik (34 commits)")[![Schweppesale](https://avatars.githubusercontent.com/u/175759?v=4)](https://github.com/Schweppesale "Schweppesale (10 commits)")[![KABBOUCHI](https://avatars.githubusercontent.com/u/9212274?v=4)](https://github.com/KABBOUCHI "KABBOUCHI (6 commits)")[![rjvandoesburg](https://avatars.githubusercontent.com/u/1488300?v=4)](https://github.com/rjvandoesburg "rjvandoesburg (5 commits)")[![ReinierH](https://avatars.githubusercontent.com/u/8132589?v=4)](https://github.com/ReinierH "ReinierH (4 commits)")[![FaZeRs](https://avatars.githubusercontent.com/u/9529341?v=4)](https://github.com/FaZeRs "FaZeRs (4 commits)")[![jnbn](https://avatars.githubusercontent.com/u/112425?v=4)](https://github.com/jnbn "jnbn (4 commits)")[![balping](https://avatars.githubusercontent.com/u/5840038?v=4)](https://github.com/balping "balping (4 commits)")[![mathieutu](https://avatars.githubusercontent.com/u/11351322?v=4)](https://github.com/mathieutu "mathieutu (3 commits)")[![tentus](https://avatars.githubusercontent.com/u/3709892?v=4)](https://github.com/tentus "tentus (3 commits)")[![arthvrian](https://avatars.githubusercontent.com/u/4997556?v=4)](https://github.com/arthvrian "arthvrian (3 commits)")[![salkhwlani](https://avatars.githubusercontent.com/u/10876587?v=4)](https://github.com/salkhwlani "salkhwlani (3 commits)")[![armababy](https://avatars.githubusercontent.com/u/219556?v=4)](https://github.com/armababy "armababy (2 commits)")[![cmtz93](https://avatars.githubusercontent.com/u/19395881?v=4)](https://github.com/cmtz93 "cmtz93 (2 commits)")[![deividaspetraitis](https://avatars.githubusercontent.com/u/5105752?v=4)](https://github.com/deividaspetraitis "deividaspetraitis (2 commits)")[![joaorobertopb](https://avatars.githubusercontent.com/u/6556083?v=4)](https://github.com/joaorobertopb "joaorobertopb (2 commits)")[![wuwx](https://avatars.githubusercontent.com/u/4401?v=4)](https://github.com/wuwx "wuwx (2 commits)")[![lex111](https://avatars.githubusercontent.com/u/4408379?v=4)](https://github.com/lex111 "lex111 (1 commits)")[![manojsb](https://avatars.githubusercontent.com/u/25655962?v=4)](https://github.com/manojsb "manojsb (1 commits)")

---

Tags

laravelmodulemodulesradnwidart

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/hoai-laravel-modules-main/health.svg)

```
[![Health](https://phpackages.com/badges/hoai-laravel-modules-main/health.svg)](https://phpackages.com/packages/hoai-laravel-modules-main)
```

###  Alternatives

[nwidart/laravel-modules

Laravel Module management

6.1k14.6M274](/packages/nwidart-laravel-modules)

PHPackages © 2026

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