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

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

lectero/laravel-modules
=======================

Laravel Module management

1.27.1(8y ago)04MITPHPPHP &gt;=5.5

Since Jun 29Pushed 4y agoCompare

[ Source](https://github.com/oncloud/laravel-modules)[ Packagist](https://packagist.org/packages/lectero/laravel-modules)[ GitHub Sponsors](https://github.com/nwidart)[ RSS](/packages/lectero-laravel-modules/feed)WikiDiscussions master Synced 5d ago

READMEChangelog (1)Dependencies (6)Versions (38)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)[![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.05.8^5.06.0^6.07.0^7.08.0^8.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 8.

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

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community20

Small or concentrated contributor base

Maturity70

Established project with proven stability

 Bus Factor1

Top contributor holds 77.7% 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 ~54 days

Recently: every ~354 days

Total

34

Last Release

1823d ago

Major Versions

0.12.0 → 1.13.02016-09-09

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

1.0.0PHP &gt;=8.0

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/39c698e8314035e3d457bc6ddfd634e518177d6e4a5ff304dbf3c6bc2eda61c0?d=identicon)[mcmuffindk](/maintainers/mcmuffindk)

---

Top Contributors

[![nWidart](https://avatars.githubusercontent.com/u/882397?v=4)](https://github.com/nWidart "nWidart (679 commits)")[![Kyslik](https://avatars.githubusercontent.com/u/2067589?v=4)](https://github.com/Kyslik "Kyslik (34 commits)")[![lindo-llc](https://avatars.githubusercontent.com/u/11467641?v=4)](https://github.com/lindo-llc "lindo-llc (17 commits)")[![ahmedggalal](https://avatars.githubusercontent.com/u/38420331?v=4)](https://github.com/ahmedggalal "ahmedggalal (16 commits)")[![FoksVHox](https://avatars.githubusercontent.com/u/37844753?v=4)](https://github.com/FoksVHox "FoksVHox (14 commits)")[![rcbgalido](https://avatars.githubusercontent.com/u/10085573?v=4)](https://github.com/rcbgalido "rcbgalido (13 commits)")[![mikemand](https://avatars.githubusercontent.com/u/745184?v=4)](https://github.com/mikemand "mikemand (11 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 (8 commits)")[![jnbn](https://avatars.githubusercontent.com/u/112425?v=4)](https://github.com/jnbn "jnbn (6 commits)")[![pickmanmurimi](https://avatars.githubusercontent.com/u/15788867?v=4)](https://github.com/pickmanmurimi "pickmanmurimi (5 commits)")[![rjvandoesburg](https://avatars.githubusercontent.com/u/1488300?v=4)](https://github.com/rjvandoesburg "rjvandoesburg (5 commits)")[![RSpeekenbrink](https://avatars.githubusercontent.com/u/7093216?v=4)](https://github.com/RSpeekenbrink "RSpeekenbrink (4 commits)")[![balping](https://avatars.githubusercontent.com/u/5840038?v=4)](https://github.com/balping "balping (4 commits)")[![FaZeRs](https://avatars.githubusercontent.com/u/9529341?v=4)](https://github.com/FaZeRs "FaZeRs (4 commits)")[![nmfzone](https://avatars.githubusercontent.com/u/10361906?v=4)](https://github.com/nmfzone "nmfzone (4 commits)")[![ReinierH](https://avatars.githubusercontent.com/u/8132589?v=4)](https://github.com/ReinierH "ReinierH (4 commits)")[![Rezrazi](https://avatars.githubusercontent.com/u/2086576?v=4)](https://github.com/Rezrazi "Rezrazi (4 commits)")[![salkhwlani](https://avatars.githubusercontent.com/u/10876587?v=4)](https://github.com/salkhwlani "salkhwlani (3 commits)")[![Davidnadejdin](https://avatars.githubusercontent.com/u/40993387?v=4)](https://github.com/Davidnadejdin "Davidnadejdin (3 commits)")

---

Tags

laravelmodulemodulesradnwidart

###  Code Quality

TestsPHPUnit

Code StylePHP CS Fixer

### Embed Badge

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

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

###  Alternatives

[nwidart/laravel-modules

Laravel Module management

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

Using Laravel Livewire in Laravel Modules package with automatically registered livewire components for every modules.

236409.6k9](/packages/mhmiton-laravel-modules-livewire)

PHPackages © 2026

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