PHPackages                             froeschke/modular-laravel - 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. froeschke/modular-laravel

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

froeschke/modular-laravel
=========================

0.0.2(7mo ago)14MITPHPCI failing

Since Aug 19Pushed 1mo agoCompare

[ Source](https://github.com/froeschke/modular-laravel)[ Packagist](https://packagist.org/packages/froeschke/modular-laravel)[ RSS](/packages/froeschke-modular-laravel/feed)WikiDiscussions main Synced today

READMEChangelog (2)Dependencies (3)Versions (4)Used By (0)

Modular Laravel
===============

[](#modular-laravel)

[![License](https://camo.githubusercontent.com/91e289161a90f9b05c9af30ff2a9b20d6b545dd238b7d5b67fe5974eec4918fa/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f66726f657363686b652f6d6f64756c61722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/froeschke/modular-laravel)[![Latest Version on Packagist](https://camo.githubusercontent.com/bd456f4d0a26dc1c80fdbe6f58f933a7d4ec0a0599c36dbac5795a03070c23d3/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f66726f657363686b652f6d6f64756c61722d6c61726176656c2e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/froeschke/modular-laravel)[![Total Downloads](https://camo.githubusercontent.com/4321860dc957a74883cecda381d8668b70d6f2ff8b5cafabd0878c6d8d61307e/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f66726f657363686b652f6d6f64756c61722d6c61726176656c3f7374796c653d666c61742d737175617265)](https://packagist.org/packages/froeschke/modular-laravel)

This packages simplifies making your Laravel application modular. It is intentionally kept simple, if you need more features check out [nwidart/laravel-modules](https://github.com/nWidart/laravel-modules)

The structure is inspired by [this Laracon Talk](https://speakerdeck.com/avosalmon/modularising-the-monolith-laracon-online-winter-2022) from Ryuta Hamasaki ([Repository](https://github.com/avosalmon/modular-monolith-laravel))

Setup
-----

[](#setup)

```
composer require --dev froeschke/modular-laravel
```

```
php artisan modules:install
```

Optional: Publish the config file

```
php artisan vendor:publish --provider="Froeschke\ModularLaravel\ModularLaravelServiceProvider"
```

### Create a module

[](#create-a-module)

```
php artisan modules:create ModuleName
```

### Fix modules structure

[](#fix-modules-structure)

Since empty folders are not in saved in git, you can run the following command, to ensure every folder exists:

```
php artisan modules:fix
```

Testing
-------

[](#testing)

To enable tests, you need to modify your `phpunit.xml` configuration. Add the following two test suites (if you've changed the default paths, you may need to change the test path)

```

        ./modules/**/Tests/Unit

        ./modules/**/Tests/Feature

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance80

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity32

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

Every ~465 days

Total

2

Last Release

218d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/65075393?v=4)[Luca Fröschke](/maintainers/lucafroeschke)[@lucafroeschke](https://github.com/lucafroeschke)

---

Top Contributors

[![lucafroeschke](https://avatars.githubusercontent.com/u/65075393?v=4)](https://github.com/lucafroeschke "lucafroeschke (13 commits)")

---

Tags

laravelmodules

### Embed Badge

![Health badge](/badges/froeschke-modular-laravel/health.svg)

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

###  Alternatives

[laravel/ai

The official AI SDK for Laravel.

1.0k3.2M193](/packages/laravel-ai)[illuminate/queue

The Illuminate Queue package.

21332.6M1.6k](/packages/illuminate-queue)[illuminate/session

The Illuminate Session package.

9939.3M850](/packages/illuminate-session)[spatie/laravel-export

Create a static site bundle from a Laravel app

674146.0k6](/packages/spatie-laravel-export)[flarum/core

Delightfully simple forum software.

201.4M2.3k](/packages/flarum-core)[erag/laravel-lang-sync-inertia

A powerful Laravel package for syncing and managing language translations across backend and Inertia.js (Vue/React/Svelte) frontends, offering effortless localization, auto-sync features, and smooth multi-language support for modern Laravel applications.

4925.3k](/packages/erag-laravel-lang-sync-inertia)

PHPackages © 2026

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