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

ActiveLibrary

rp76/module
===========

this package will help anyone who want to make a modular laravel project.

v1.3.0(4y ago)3111MITPHP

Since Aug 31Pushed 4y ago1 watchersCompare

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

READMEChangelogDependenciesVersions (14)Used By (0)

Modular\_Laravel
================

[](#modular_laravel)

[![Packgist version](https://camo.githubusercontent.com/6d78625dc5b53a0210eaefbe6bba99870cb2842055548054e547b40da31aae35/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f64796e616d69632f786d6c3f6c6162656c3d7061636b61676973742671756572793d2532462532467370616e253542253430636c61737325334425323776657273696f6e2d6e756d6265722532372535442535423125354425324674657874253238253239253542312535442675726c3d68747470732533412532462532467061636b61676973742e6f72672532467061636b61676573253246727037362532466d6f64756c65)](https://packagist.org/packages/rp76/module)[![GitHub license](https://camo.githubusercontent.com/f127ac07f0d72274863a53dc639f98fea86e770c8562af696823650832981bc0/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f52657a615061727369616e2f4d6f64756c61725f4c61726176656c)](https://github.com/RezaParsian/Modular_Laravel/blob/master/LICENSE)

`rp76/module` is a Laravel package that allows you to split your large project to pieces to managing them easier and use them many times to another project.

This package allows you to have many Routes, Models, Controllers, Migrations and Views without **conflict** on team project. Also, each module has special **composer** for itself.

Install
-------

[](#install)

To install through Composer, by run the following command:

```
composer require rp76/module

```

You can add the package to your project by entering the following command

```
// config/app.php
'providers' => [
    ...
    \Rp76\Module\ModuleServiceProvider::class,
],

```

then publish the package's configuration file by running:

```
php artisan vendor:publish --tag=RpModule

```

or

```
php artisan vendor:publish --provider="Rp76\Module\ModuleServiceProvider"

```

or any ways you know.

after you published that, you have to add this command to.

```
// config/app.php
'providers' => [
    ...
    \App\Providers\ModulesProvider::class,
],

```

**Tip: new modules don't need any composer install or dump−autoload**

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

[](#documentation)

It's a simple package, we have few **command** to make new files.

### Start Module

[](#start-module)

```
php artisan module:install

```

**This command makes modules folder in your root folder of project with template module.**

**It's necessary to use once.**

### Make New Module

[](#make-new-module)

```
php artisan module:make {name} //php artisan module:make Book

```

**Tip: You must add your module name to config/RpModule.php**

### Make New Controller

[](#make-new-controller)

```
php artisan module:controller {name} {moduleName} --r //php artisan module:controller BookController Book

```

**Tip:**

1. Some parameters are optional like **--r**.
2. **--r** parameter helps you to make **resource** controller.

### Make New Model

[](#make-new-model)

```
php artisan module:model {name} {moduleName} --m //php artisan module:model Book Book

```

**Tip:**

1. Some parameters are optional like **--m**.
2. **--m** parameter helps you to make **migration** and model.

### Make New Migration

[](#make-new-migration)

```
php artisan module:migration {name} {moduleName} //php artisan module:migration create_book Book

```

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/RezaParsian/Modular_Laravel/blob/master/LICENSE) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 80.8% 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 ~12 days

Recently: every ~36 days

Total

13

Last Release

1576d ago

### Community

Maintainers

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

---

Top Contributors

[![RezaParsian](https://avatars.githubusercontent.com/u/46934941?v=4)](https://github.com/RezaParsian "RezaParsian (21 commits)")[![Negindorali](https://avatars.githubusercontent.com/u/76015298?v=4)](https://github.com/Negindorali "Negindorali (5 commits)")

---

Tags

controllerlaravellaravel-packagemigrationmodelmodulephp

### Embed Badge

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

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

PHPackages © 2026

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