PHPackages                             havennow/laravel-module - 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. havennow/laravel-module

ActiveLibrary[Framework](/categories/framework)

havennow/laravel-module
=======================

Laravel light module

0.2.12(5mo ago)3921MITPHPPHP ^7.2.5|^8.0

Since Dec 18Pushed 5mo ago1 watchersCompare

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

READMEChangelog (10)Dependencies (6)Versions (19)Used By (0)

Laravel-module
==============

[](#laravel-module)

[![Logo](./logo.png)](./logo.png)

---

Light package based in package archived:

The objective is, transform your code in simple modules

Require: PHP &gt;= 7.2.5

Step for setup:

- `composer require havennow/laravel-module`
- `php artisan vendor:publish --provider="Havennow\LaravelModule\ModuleServiceProvider" --tag=config`
- see in config/modules.ph configs

---

### Configuration

[](#configuration)

- in array you can enable in general or disable via ENV in `.env` file : `LARAVEL_MODULE_ENABLE`, is bool
- you can enable specify module `1 => ['name' => 'XPTO', 'enable' => true ]`
- the index in array need be integer, for order load, in case one module load before another
- for default the folder is `app/Modules`, and namespace `App\Modules`
- can use prefix route `['route_prefix=> 'api' ]`
- can enable view or disable `['view_enable' => false]`

### How-use

[](#how-use)

- Put the ServiceProvider in config/app.php `\Havennow\LaravelModule\ModuleServiceProvider::class` in providers section
- in console `php artisan laravel-module:make-module Example`
- enable in config in `'available' => [` add `1 => ['name' => 'example', 'enable' => true ]`
- see the code into Modules path
- Test example in `http://localhost/example`

Can custom abstract class for Module for example, you can disable the module in runtime

```
class Module extends ModuleAbstract
{

    public function loadBefore()
    {
        $this->setEnable(false);
    }

```

###  Health Score

38

—

LowBetter than 85% of packages

Maintenance72

Regular maintenance activity

Popularity15

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 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 ~55 days

Recently: every ~77 days

Total

14

Last Release

160d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/b35735805df39cc4e134f3159e38a51984ccfa217b7fbc06d7eba7cbc5fb334d?d=identicon)[havennow](/maintainers/havennow)

---

Top Contributors

[![havennow](https://avatars.githubusercontent.com/u/2552946?v=4)](https://github.com/havennow "havennow (21 commits)")

---

Tags

laravellaravel-modulehavennow

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StyleLaravel Pint

Type Coverage Yes

### Embed Badge

![Health badge](/badges/havennow-laravel-module/health.svg)

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

###  Alternatives

[laravel/horizon

Dashboard and code-driven configuration for Laravel queues.

4.1k84.2M225](/packages/laravel-horizon)[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)[laravel/nightwatch

The official Laravel Nightwatch package.

3526.1M13](/packages/laravel-nightwatch)[codewithdennis/larament

Larament is a time-saving starter kit to quickly launch Laravel 13.x projects. It includes FilamentPHP 5.x pre-installed and configured, along with additional tools and features to streamline your development workflow.

3691.5k](/packages/codewithdennis-larament)[kompo/kompo

Laravel &amp; Vue.js FullStack Components for Rapid Application Development

11812.4k21](/packages/kompo-kompo)

PHPackages © 2026

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