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

ActiveLibrary

cyberair/laravel-modules
========================

Laravel Module management

3.3.1(7y ago)091MITPHPPHP &gt;=7.1

Since Jun 29Pushed 7y ago1 watchersCompare

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

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

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

[](#laravel-modules)

**Laravel****laravel-modules**5.4^1.05.5^2.05.6^3.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://nicolaswidart.com/projects).

License
-------

[](#license)

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

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity72

Established project with proven stability

 Bus Factor1

Top contributor holds 81.4% 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 ~24 days

Total

53

Last Release

2857d 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

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/083a3815e5960699ec9e9ebc51d6f13ec3204d753b590f5b6110536515781f50?d=identicon)[cyberair](/maintainers/cyberair)

---

Top Contributors

[![nWidart](https://avatars.githubusercontent.com/u/882397?v=4)](https://github.com/nWidart "nWidart (450 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)")[![mikemand](https://avatars.githubusercontent.com/u/745184?v=4)](https://github.com/mikemand "mikemand (6 commits)")[![jnbn](https://avatars.githubusercontent.com/u/112425?v=4)](https://github.com/jnbn "jnbn (4 commits)")[![KABBOUCHI](https://avatars.githubusercontent.com/u/9212274?v=4)](https://github.com/KABBOUCHI "KABBOUCHI (4 commits)")[![balping](https://avatars.githubusercontent.com/u/5840038?v=4)](https://github.com/balping "balping (4 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)")[![salkhwlani](https://avatars.githubusercontent.com/u/10876587?v=4)](https://github.com/salkhwlani "salkhwlani (3 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)")[![wuwx](https://avatars.githubusercontent.com/u/4401?v=4)](https://github.com/wuwx "wuwx (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)")[![quoc-modoro](https://avatars.githubusercontent.com/u/3088362?v=4)](https://github.com/quoc-modoro "quoc-modoro (2 commits)")[![armababy](https://avatars.githubusercontent.com/u/219556?v=4)](https://github.com/armababy "armababy (2 commits)")[![manojsb](https://avatars.githubusercontent.com/u/25655962?v=4)](https://github.com/manojsb "manojsb (1 commits)")[![hassoon3](https://avatars.githubusercontent.com/u/3623938?v=4)](https://github.com/hassoon3 "hassoon3 (1 commits)")

---

Tags

laravelmodulemodulesradnwidart

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nwidart/laravel-modules

Laravel Module management

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

PHPackages © 2026

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