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(5mo ago)14MITPHPCI failing

Since Aug 19Pushed 5mo 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 1mo ago

READMEChangelog (2)Dependencies (3)Versions (3)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

30

—

LowBetter than 65% of packages

Maintenance72

Regular maintenance activity

Popularity5

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity31

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

163d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/664c5bee56d5c96a5b2f8712b35c3ffbd5fa70e8076bc8cb2853d1049e67f08d?d=identicon)[lucafroeschke](/maintainers/lucafroeschke)

---

Top Contributors

[![lucafroeschke](https://avatars.githubusercontent.com/u/65075393?v=4)](https://github.com/lucafroeschke "lucafroeschke (11 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

[barryvdh/laravel-ide-helper

Laravel IDE Helper, generates correct PHPDocs for all Facade classes, to improve auto-completion.

14.9k123.0M686](/packages/barryvdh-laravel-ide-helper)[orchestra/canvas

Code Generators for Laravel Applications and Packages

21017.2M157](/packages/orchestra-canvas)[aedart/athenaeum

Athenaeum is a mono repository; a collection of various PHP packages

255.2k](/packages/aedart-athenaeum)[tehwave/laravel-achievements

Simple, elegant Achievements the Laravel way

7012.8k](/packages/tehwave-laravel-achievements)[interaction-design-foundation/laravel-geoip

Support for multiple Geographical Location services.

17221.0k3](/packages/interaction-design-foundation-laravel-geoip)

PHPackages © 2026

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