# nWidart/laravel-modules

Module Management In Laravel

Repository: https://github.com/nWidart/laravel-modules
Canonical: https://ross.abutalabs.com/products/laravel-modules
Homepage: https://docs.laravelmodules.com
Language: PHP
License: MIT
License Family: permissive
Topics: laravel-modules, laravel, architecture, php, hacktoberfest
Last push: 2026-04-13T09:11:55+00:00

## Health v2 (maintenance only)
Score: 81/100 (v2, computed 2026-09-03T02:20:16.233290+00:00)
- activity 77, release rhythm 75, longevity 100
- inputs: {"age_days": 3719, "days_push": 142, "days_rel": 167, "gap_med": 6, "n_releases_24m": 18}
- flags: none
- formula: round(0.45*activity + 0.35*rhythm + 0.20*longevity); archived -> min(score, 10)

## Adoption (not part of the score)
Stars 6203, forks 1024 (observed 2026-08-28T04:09:39.893371+00:00)

## What it is
A Laravel package for organizing large applications into self-contained modules, each with its own routes, controllers, models, views, migrations, and tests. It provides Artisan commands to generate and manage modules, with automatic service provider registration and Composer-based autoloading.

## Use cases
- organize a large Laravel app into feature modules
- generate module scaffolding with controllers, models, and migrations
- enable or disable feature modules independently
- extract a feature into a reusable package
- reduce merge conflicts by letting teams own separate modules
- structure a modular monolith in Laravel

## When to choose
- your Laravel codebase has grown unwieldy and features span many directories
- you want feature-based grouping instead of Laravel's default layer-based structure
- multiple teams work on separate features in one app
- you want modules that can later be extracted into Composer packages

## When to avoid
- small or simple Laravel apps where the default structure is sufficient
- you need true microservices with independent deployment
- you're not using Laravel or the PHP ecosystem

## Facets
- artifact type: library
- maturity: active
- function: plugin-system, developer-tools, routing, middleware
- domain: web-development, backend, developer-tools
- platform: php, cli
- tags: laravel-package, modular-architecture, modular-monolith, code-organization, artisan-commands, composer, architecture, laravel, web-server

## Member repositories
- nWidart/laravel-modules (main) score 81

## Provenance
- Observed fields: from GitHub, fetched 2026-08-28T04:09:39.893371+00:00.
- Health v2: computed from the inputs above; adoption is never an input.
- Inferred fields (summary, facets, guidance): AI-extracted, prompt v1, taxonomy v1, on 2026-08-29T17:47:19.686809+00:00, confidence not recorded.
  - readme: https://github.com/nWidart/laravel-modules (fetched 2026-08-28T04:09:39.893371+00:00, sha d034610f2a5b)
  - homepage: https://docs.laravelmodules.com (fetched 2026-08-29T08:43:53.833748+00:00, sha 93d5efd67364)
  - site_page: https://laravelmodules.com/docs/13 (fetched 2026-08-29T08:43:53.843014+00:00, sha 83b021545022)
- Data as of 2026-08-30T08:39:29.467469+00:00.
