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

ActiveLibrary

mhmmdkyr/laravel-modules
========================

Laravel Module management

v1.0.0(3y ago)010MITPHPPHP &gt;=8.0

Since Aug 19Pushed 3y ago1 watchersCompare

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

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

Laravel-Modules
===============

[](#laravel-modules)

[![Latest Version on Packagist](https://camo.githubusercontent.com/46b0c0c9717f700f6ab4807bc9f74e08ee926321be39557a80203f0af1c3c3bf/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d686d6d646b79722f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhmmdkyr/laravel-modules)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE.md)[![Build Status](https://camo.githubusercontent.com/d8ba68e66373a18e8b7be6926087c43e3ed1a928881447ff91be89038f0a5756/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f6d686d6d646b79722f6c61726176656c2d6d6f64756c65732f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/mhmmdkyr/laravel-modules)[![Scrutinizer Coverage](https://camo.githubusercontent.com/d3ccda3f9a158588acb02cc03cb0d9cafc88108585243fa05715c9f7a82fe334/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f6d686d6d646b79722f6c61726176656c2d6d6f64756c65732e7376673f6d61784167653d3836343030267374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/mhmmdkyr/laravel-modules/?branch=master)[![Quality Score](https://camo.githubusercontent.com/14a3e15d021377dc1c6d97f7d7d4a211371239e688ff90f2ea08a55199518861/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f6d686d6d646b79722f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/mhmmdkyr/laravel-modules)[![Total Downloads](https://camo.githubusercontent.com/b2d25c8b14a62f7c3db4617212eebdf9a328725b5ae2ee5f6dbb0b4650fcfb08/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d686d6d646b79722f6c61726176656c2d6d6f64756c65732e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/mhmmdkyr/laravel-modules)

**Laravel****laravel-modules**5.4^1.05.5^2.05.6^3.05.7^4.05.8^5.06.0^6.07.0^7.08.0^8.09.0^9.0`mhmmdkyr/laravel-modules` is a Laravel package which created to manage your large Laravel app using modules. Module is like a Laravel package, it has some views, controllers or models. This package is supported and tested in Laravel 9.

This package is a re-published, re-organised and maintained version of [pingpong/modules](https://github.com/pingpong-labs/modules), which isn't maintained anymore. This package is used in [AsgardCMS](https://asgardcms.com/).

With one big added bonus that the original package didn't have: **tests**.

Find out why you should use this package in the article: [Writing modular applications with laravel-modules](https://nicolaswidart.com/blog/writing-modular-applications-with-laravel-modules).

Install
-------

[](#install)

To install through Composer, by run the following command:

```
composer require mhmmdkyr/laravel-modules
```

The package will automatically register a service provider and alias.

Optionally, publish the package's configuration file by running:

```
php artisan vendor:publish --provider="Mhmmdkyr\Modules\LaravelModulesServiceProvider"
```

### Autoloading

[](#autoloading)

By default, the module classes are not loaded automatically. You can autoload your modules using `psr-4`. For example:

```
{
  "autoload": {
    "psr-4": {
      "App\\": "app/",
      "Modules\\": "Modules/",
      "Database\\Factories\\": "database/factories/",
      "Database\\Seeders\\": "database/seeders/"
  }

}
```

**Tip: don't forget to run `composer dump-autoload` afterwards.**

Documentation
-------------

[](#documentation)

You'll find installation instructions and full documentation on .

Credits
-------

[](#credits)

- [Muhammed Kayar](https://github.com/mhmmdkyr)
- [David Carr](https://github.com/dcblogdev)
- [gravitano](https://github.com/gravitano)
- [All Contributors](../../contributors)

About Muhammed Kayar
--------------------

[](#about-muhammed-kayar)

Muhammed Kayar is a freelance web developer specialising on the Laravel framework. View all my packages [on my website](https://mhmmdkyr.com/), or visit [my website](https://nicolaswidart.com).

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity5

Limited adoption so far

Community4

Small or concentrated contributor base

Maturity52

Maturing project, gaining track record

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

1360d ago

### Community

Maintainers

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

---

Tags

laravelmodulemodulesradmhmmdkyr

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

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

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

###  Alternatives

[nwidart/laravel-modules

Laravel Module management

6.1k14.6M274](/packages/nwidart-laravel-modules)

PHPackages © 2026

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