PHPackages                             svidskiy/laravel-modulith - 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. svidskiy/laravel-modulith

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

svidskiy/laravel-modulith
=========================

Vertical Slice Architecture for Laravel – group your code by business feature, scale to hundreds of models without losing your mind.

v0.0.1(1mo ago)01[1 PRs](https://github.com/svidskiy/laravel-modulith/pulls)MITPHPPHP ^8.3

Since May 6Pushed 3w agoCompare

[ Source](https://github.com/svidskiy/laravel-modulith)[ Packagist](https://packagist.org/packages/svidskiy/laravel-modulith)[ Docs](https://github.com/svidskiy/laravel-modulith)[ RSS](/packages/svidskiy-laravel-modulith/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (15)Versions (3)Used By (0)

Laravel Modulith
================

[](#laravel-modulith)

> Vertical Slice Architecture for Laravel — group your code by business feature, scale to hundreds of models without losing your mind.

> **Status:** v0.1 — early access. Public API may change before v1.0.

Requirements
------------

[](#requirements)

- PHP 8.3+
- Laravel 12+

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

[](#installation)

```
composer require svidskiy/laravel-modulith
php artisan modulith:install
```

Create a module
---------------

[](#create-a-module)

```
php artisan module:make Billing
```

Scaffolds `modules/Billing/`:

```
modules/Billing/
├── Http/Controllers/
├── Models/
├── database/migrations/
└── routes/

```

Anything you drop inside is auto-loaded — no manual provider registration.

Commands
--------

[](#commands)

CommandPurpose`module:make {name}`Scaffold a new module`module:list`Show registered modules`module:cache`Cache the module manifest`module:clear`Drop the cache`modulith:install`Publish the configConfiguration
-------------

[](#configuration)

`config/modulith.php` after `modulith:install`:

```
return [
    'path' => 'modules',          // base_path(...) prefix or absolute
    'namespace' => 'Modules',     // PSR-4 root for module classes
    'cache' => ['enabled' => env('MODULITH_CACHE', true)],
    'auto_discover' => [
        'config' => true,
        'routes' => true,
        'views' => true,
        'translations' => true,
        'migrations' => true,
        'commands' => true,
        'blade_components' => true,
        'policies' => true,
        'events' => true,
        'observers' => true,
        'middleware' => true,
    ],
];
```

What gets auto-loaded per module
--------------------------------

[](#what-gets-auto-loaded-per-module)

Path inside moduleLoader`routes/web.php`, `routes/api.php``RouteLoader``database/migrations/*.php``MigrationLoader``config/*.php``ConfigLoader``resources/views/``ViewLoader` (namespaced as `::`)`lang/``TranslationLoader``View/Components/``BladeComponentLoader``Console/*.php``CommandLoader``Listeners/*.php``EventLoader``Observers/*Observer.php``ObserverLoader` (auto-binds to matching `Models/*`)`Policies/*Policy.php``PolicyLoader` (auto-binds to matching `Models/*`)`middleware.php``MiddlewareLoader`License
-------

[](#license)

MIT

###  Health Score

37

—

LowBetter than 81% of packages

Maintenance94

Actively maintained with recent releases

Popularity2

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity39

Early-stage or recently created project

 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

Unknown

Total

1

Last Release

34d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/99f9c631f6e533a168f5d7f91446b57e4879e419534536b54d3b03781a67b694?d=identicon)[svidskiy](/maintainers/svidskiy)

---

Top Contributors

[![svidskiy](https://avatars.githubusercontent.com/u/121125867?v=4)](https://github.com/svidskiy "svidskiy (12 commits)")

###  Code Quality

TestsPest

Static AnalysisPHPStan, Rector

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/svidskiy-laravel-modulith/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

9782.1M153](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

20432.2M1.5k](/packages/illuminate-queue)[psalm/plugin-laravel

Psalm plugin for Laravel

3325.1M337](/packages/psalm-plugin-laravel)[moonshine/moonshine

Laravel administration panel

1.3k239.9k72](/packages/moonshine-moonshine)[illuminate/session

The Illuminate Session package.

9938.5M818](/packages/illuminate-session)[tallstackui/tallstackui

TallStackUI is a powerful suite of Blade components that elevate your workflow of Livewire applications.

719160.4k12](/packages/tallstackui-tallstackui)

PHPackages © 2026

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