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

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

rawilk/laravel-modules
======================

Laravel module management

0.3(6y ago)229.3k↓50%4MITPHPPHP &gt;=7.3

Since Jun 16Pushed 6y ago1 watchersCompare

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

READMEChangelog (5)Dependencies (5)Versions (6)Used By (0)

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

[](#laravel-modules)

[![Latest Version on Packagist](https://camo.githubusercontent.com/fb704ab869e9f96548b1ede53fb2d372a99dd6045fd2b53c2c4def7949556dda/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f726177696c6b2f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/rawilk/laravel-modules)[![Build Status](https://camo.githubusercontent.com/78e6a35fdb3a5c97054493581e91d0538de0d37e55c7c97409beb2b7c42aa60c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f726177696c6b2f6c61726176656c2d6d6f64756c65732f6d61737465722e7376673f7374796c653d666f722d7468652d6261646765)](https://travis-ci.org/rawilk/laravel-modules)[![GitHub issues](https://camo.githubusercontent.com/8805bb27a518af4b5edf8db43a97c8d5f5d675258dce3e4d18afc099333a4120/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f726177696c6b2f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666f722d7468652d6261646765)](https://github.com/rawilk/laravel-modules/issues)[![Software License](https://camo.githubusercontent.com/9897f4467850972a38c7db9a4d38280b8fcdac0ada00e9c8c0a72ecfa8551653/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765)](LICENSE)[![Quality Score](https://camo.githubusercontent.com/03d7ba93ceb20459d6ac002e01d62c3f1164a5e5d5917c3ea5038c15c3c6df3d/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f726177696c6b2f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666f722d7468652d6261646765)](https://scrutinizer-ci.com/g/rawilk/laravel-modules)[![Total Downloads](https://camo.githubusercontent.com/48d91205a16cc73c69872f9272123adba665769516ffd2187c507d00bc81a55a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f726177696c6b2f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666f722d7468652d6261646765)](https://packagist.org/packages/rawilk/laravel-modules)

`rawilk/laravel-modules` is a Laravel package to help build modular apps using modules. A module is like a Laravel package; it has some views, controllers and models. Laravel-Modules is supported and tested in Laravel 6.

This package is inspired by [nWidart/laravel-modules](https://github.com/nWidart/laravel-modules). Although laravel-modules is mainly intended for my own use and has certain parts written to cater to my needs, you are free to use it.

Installation
------------

[](#installation)

To install the package through composer, run the following command

```
composer require rawilk/laravel-modules
```

The package will automatically register its service provider and alias.

You can optionally publish the package's configuration file by running:

```
php artisan vendor:publish --provider="Rawilk\LaravelModules\LaravelModulesServiceProvider"
```

Autoloading Modules
-------------------

[](#autoloading-modules)

By default the modules are not loaded automatically. You can autoload the modules by using `psr-4` in your `composer.json` file:

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

```

- If you changed the module namespace in the [config file](https://github.com/rawilk/laravel-modules/blob/master/config/config.php#L20), be sure to change `"Modules\\"` to your new namespace.
- If you changed the directory where the modules get stored in the [config file](https://github.com/rawilk/laravel-modules/blob/master/config/config.php#L91), be sure to change `"Modules/"` to the directory they will be stored in.

**Tip: Be sure sure to run `composer dump-autoload` afterwards.**

Database
--------

[](#database)

Database installation and activation of modules is still a work in progress and is not ready for production yet. I do have plans to finish this functionality in a future release.

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

[](#documentation)

Further information and instructions can be found at:

Credits
-------

[](#credits)

- [Randall Wilk](https://randallwilk.com)

License
-------

[](#license)

The MIT License (MIT). Please see the [License file](https://github.com/rawilk/laravel-modules/blob/master/LICENSE) for more information.

###  Health Score

31

—

LowBetter than 68% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity30

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity51

Maturing project, gaining track record

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

Total

5

Last Release

2440d ago

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

0.3PHP &gt;=7.3

### Community

Maintainers

![](https://www.gravatar.com/avatar/1e2f599d4d290bbb514a933d4f21c3f18fb093f5f8a9994cb17f5469853c749c?d=identicon)[rawilk](/maintainers/rawilk)

---

Top Contributors

[![rawilk](https://avatars.githubusercontent.com/u/22842525?v=4)](https://github.com/rawilk "rawilk (62 commits)")

---

Tags

generatorlaravellaravel-modulesmodulesphplaravelmoduleslaravel-modules

###  Code Quality

TestsPHPUnit

### Embed Badge

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

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

###  Alternatives

[dcblogdev/laravel-module-generator

Generate Laravel Modules from a template.

7710.1k1](/packages/dcblogdev-laravel-module-generator)

PHPackages © 2026

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