PHPackages                             minionfactory/module-factory - 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. minionfactory/module-factory

Abandoned → [nwidart/laravel-modules](/?search=nwidart%2Flaravel-modules)Package[Framework](/categories/framework)

minionfactory/module-factory
============================

My implementation of modules within Laravel.

v1.3.6(7mo ago)120.2k↓50%[2 PRs](https://github.com/recognizerHD/module-factory/pulls)MITPHPPHP ^8.3CI failing

Since Oct 23Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/recognizerHD/module-factory)[ Packagist](https://packagist.org/packages/minionfactory/module-factory)[ RSS](/packages/minionfactory-module-factory/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (19)Used By (0)

Module Factory
==============

[](#module-factory)

[![Software License](https://camo.githubusercontent.com/9897f4467850972a38c7db9a4d38280b8fcdac0ada00e9c8c0a72ecfa8551653/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666f722d7468652d6261646765)](LICENSE.md)

Introduction
------------

[](#introduction)

Module Factory is a simple package to organize Laravel into modules. It's fine for small projects but large projects can get unwieldy with the number of files. This package allows you to structure the files into modules with a similar folder layout as Laravel itself.

```
app
    -Http
    -Modules
        -FullComponent
            -Config
                setup.php
            -Controllers
                PageController.php
                AdminController.php
            -Events
                -Listeners
                    PageSave.php
            -Policies
                PagePolicy.php
            -Routes
                web.php
                api.php
            -Shortcodes (optional)
                page-list.php
            -Views
                page.blade.php
                index.blade.php
        -PartialComponent
            -Controllers
                ShortcodeController.php
            -Shortcodes (optional)
                just-shortcode.php
            -Views
                list.blade.php

```

In the above example, ShortcodeController should have the following namespace:

```
namespace App\Modules\PartialComponent\Controllers;

```

###  Health Score

54

—

FairBetter than 97% of packages

Maintenance78

Regular maintenance activity

Popularity27

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity85

Battle-tested with a long release history

 Bus Factor1

Top contributor holds 88.9% 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 ~194 days

Recently: every ~387 days

Total

14

Last Release

228d ago

PHP version history (7 changes)v1.0.0PHP &gt;=7.0

v1.1.0PHP ^7.2.5

v1.3.1PHP ^7.4

v1.3.2PHP ^7.3|^8.0

v1.3.3PHP &gt;=8.0

v1.3.5PHP ^8.1

v1.3.6PHP ^8.3

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/1222899?v=4)[recognizerHD](/maintainers/recognizerHD)[@recognizerHD](https://github.com/recognizerHD)

---

Top Contributors

[![recognizerHD](https://avatars.githubusercontent.com/u/1222899?v=4)](https://github.com/recognizerHD "recognizerHD (48 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (6 commits)")

---

Tags

laravelmodulesminionfactory

### Embed Badge

![Health badge](/badges/minionfactory-module-factory/health.svg)

```
[![Health](https://phpackages.com/badges/minionfactory-module-factory/health.svg)](https://phpackages.com/packages/minionfactory-module-factory)
```

###  Alternatives

[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)[pingpong/modules

Laravel Modules

592188.7k13](/packages/pingpong-modules)[creolab/laravel-modules

Application specific modules in Laravel 4

366156.1k1](/packages/creolab-laravel-modules)[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)
