PHPackages                             zingle-com/laravel-modules - 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. zingle-com/laravel-modules

ActiveLaravel-package

zingle-com/laravel-modules
==========================

Adds Modules to Laravel.

1.0.0(6y ago)019.9k↓50%MITPHPPHP ~7.0|~7.1

Since Jan 31Pushed 6y ago2 watchersCompare

[ Source](https://github.com/Zingle/LaravelModules)[ Packagist](https://packagist.org/packages/zingle-com/laravel-modules)[ RSS](/packages/zingle-com-laravel-modules/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (6)Versions (2)Used By (0)

Laravel Modules
===============

[](#laravel-modules)

[![Build Status](https://camo.githubusercontent.com/0a18f7265f424dd3597090b392fb93574bcf4aab445a0f16ae16c8e2da8f6bed/68747470733a2f2f7472617669732d63692e636f6d2f5a696e676c652f4c61726176656c4d6f64756c65732e7376673f6272616e63683d6d6173746572)](https://travis-ci.com/Zingle/LaravelModules)[![Coverage Status](https://camo.githubusercontent.com/47d2f181d731ced0990b98887ebf90ed7ceffcb673a9c9d1a970f3a1f207be94/68747470733a2f2f636f766572616c6c732e696f2f7265706f732f6769746875622f5a696e676c652f4c61726176656c4d6f64756c65732f62616467652e7376673f6272616e63683d6d6173746572)](https://coveralls.io/github/Zingle/LaravelModules?branch=master)

Simple helpers for adding modular architecture to your Laravel project.

Overview
========

[](#overview)

Modular architecture makes your application easier to understand and scale. This package attempts to add support for modules with minimal effort and greatest amount of flexibility. A `Module` in this package corresponds with a module grouping of code in your project.

Installation
============

[](#installation)

Install the base package with composer.

```
$ composer install zingle-com/laravel-modules
```

Add service provider to your providers after the Illuminate providers, but before your project service providers.

```
// config.php
// ...
	'providers' => [
		// ...
		Illuminate\Validation\ValidationServiceProvider::class,
        Illuminate\Session\SessionServiceProvider::class,
        Illuminate\Notifications\NotificationServiceProvider::class,

        /**
         * Vendors
         */
    	// ...
    	ZingleCom\LaravelModules\ModuleServiceProvider::class,

    	// ...
    	/**
    	 * Project providers
    	 */
	],
```

Finally install the vendor assets:

```
$ php artisan vendor:publish --provider="ZingleCom\LaravelModules\ModuleServiceProvider::class"
```

Usage
=====

[](#usage)

After defining your modular structure, to create a new module simply create add a new class that extends `Module` to your base module directory that corresponds with the name of the module. For example, if you had a module named `Auth` the base directory for which is `app/Modules/Auth` you would create the following class:

```
namespace App\Modules\Auth;

use ZingleCom\LaravelModules\Module\Module;

class AuthModule extends Module
{

}
```

Then add the new module class to `config/modules.php` under the modules key like:

```
// modules.php
// ..
	"modules" => [
		App\Modules\Auth\AuthModule::class,
	],
```

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity24

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity51

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

Unknown

Total

1

Last Release

2300d ago

### Community

Maintainers

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

---

Top Contributors

[![zquintana](https://avatars.githubusercontent.com/u/130444?v=4)](https://github.com/zquintana "zquintana (18 commits)")

---

Tags

laravellaravel-5-package

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/zingle-com-laravel-modules/health.svg)

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

PHPackages © 2026

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