PHPackages                             lfml/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. [Framework](/categories/framework)
4. /
5. lfml/laravel-modules

ActiveLibrary[Framework](/categories/framework)

lfml/laravel-modules
====================

Laravel Module management

2.1.3(6y ago)041MITPHPPHP &gt;=7.1

Since May 22Pushed 6y agoCompare

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

READMEChangelog (6)Dependencies (7)Versions (12)Used By (0)

modules
=======

[](#modules)

[![Latest Version on Packagist](https://camo.githubusercontent.com/bad5d7262a44e02d74249b3649143dfb490a193d8c8080880f6a79f3cf50899a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f4c61726176656c2f6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Laravel/modules)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/e376ea6cf015c88d1f404b3cf1da4b0a92145bac5ed6705c8012911325137943/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f4c61726176656c2f6d6f64756c65732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/Laravel/modules)[![Scrutinizer Coverage](https://camo.githubusercontent.com/30e2988fa547056aff09edd7aa30c022f4f6a63a3018cad8d219c1dbee62ee0e/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f4c61726176656c2f6d6f64756c65732e7376673f6d61784167653d3836343030267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/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/03fe998427032a033e1f2f21c01f2a5203d54c8e345a0dd990b394c9ced96236/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f4c61726176656c2f6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/Laravel/modules)[![Total Downloads](https://camo.githubusercontent.com/b075d2c926794fcaa4a6dff03f9c6428e85807e4d48bb4c8d10bceb0dc306dc1/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f4c61726176656c2f6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/Laravel/modules)

**Laravel****modules**5.4^1.05.5^2.05.6^3.05.7^4.05.8^5.0`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 modules](https://nicolaswidart.com/blog/writing-modular-applications-with-modules).

Install
-------

[](#install)

To install through Composer, by run the following command:

```
composer require lfml/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="Laravel\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

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity61

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

Total

10

Last Release

2502d ago

Major Versions

1.3.1 → 2.0.12019-07-02

PHP version history (2 changes)1.0.0PHP &gt;=7.2

1.0.1PHP &gt;=7.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/8600a92fff164d599e2637453dd42fec7ea4530f6d2a7373fdcfe399e77b5dab?d=identicon)[luisml-lfml](/maintainers/luisml-lfml)

---

Top Contributors

[![LFML](https://avatars.githubusercontent.com/u/50928868?v=4)](https://github.com/LFML "LFML (1 commits)")

---

Tags

laravelmodulemodulesrad

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nwidart/laravel-modules

Laravel Module management

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

Modularize your Laravel apps

1.1k662.4k8](/packages/internachi-modular)[pingpong/modules

Laravel Modules

592188.7k13](/packages/pingpong-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)[artem-schander/l5-modular

Modular pattern generator for Laravel

223235.5k](/packages/artem-schander-l5-modular)

PHPackages © 2026

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