PHPackages                             redux/modular - 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. redux/modular

ActivePackage[Utility &amp; Helpers](/categories/utility)

redux/modular
=============

Modular Architecture

v1.1.3(1y ago)0249MITPHPPHP &gt;=8.1

Since Jun 19Pushed 1y ago1 watchersCompare

[ Source](https://github.com/reduxd1996/redux-modular)[ Packagist](https://packagist.org/packages/redux/modular)[ RSS](/packages/redux-modular/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (9)Dependencies (1)Versions (11)Used By (0)

Redux-modular
=============

[](#redux-modular)

Laravel modular Architecture

This repository offers a collection of Artisan commands designed to generate modules, controllers, requests, resources, models, and more within a Laravel application.

Introduction
============

[](#introduction)

This package simplifies the process of creating structured modules in a Laravel application, ensuring consistency and adherence to best practices.

Requirements
============

[](#requirements)

- PHP &gt;= 8.1
- Laravel &gt;= 9.x

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

[](#installation)

First add the following to your Composer autoload configuration in composer.json:

```
"Modules\\": "Modules/"

```

It should look like this:

```
"autoload": {
    "psr-4": {
        "App\\": "app/",
        "Modules\\": "Modules/"
    }
}

```

Then, run:

```
composer dump-autoload

```

Then install the following command in your Laravel project directory:

```
composer require redux/modular

```

Create Modules
==============

[](#create-modules)

To create a module, use the following command:

```
php artisan redux:make-module

```

This command will generate the necessary folders and files for your module.

You can now generate repository, trait, interface, or service or combined when you generate module with "--width" flag, using the following command:

```
php artisan redux:make-module  --with=trait

```

or with multiple files

```
php artisan redux:make-module  --with=trait,service,interface

```

It will generate standardized name like ModuleNameInterface, ModuleNameService etc...

Create Controllers
==================

[](#create-controllers)

To create a controller, use the following command:

```
php artisan redux:make-controller

```

To generate multiple controllers, you can separate the controllers with a comma. For example:

```
php artisan redux:make-controller  ,

```

For an API controller, you can use the --api flag, the --resource flag, or both.

```
php artisan redux:make-controller  , --api --resource

```

Create Models
=============

[](#create-models)

To create a model, use the following command:

```
php artisan redux:make-model

```

To generate multiple model, you can separate the model with a comma. For example:

```
php artisan redux:make-model  ,

```

To generate migrations for your models, you can use "--m" flags:

```
php artisan redux:make-model  , --m

```

Create Requests
===============

[](#create-requests)

To create a new request within a module, use the following command:

```
php artisan redux:make-request

```

Create Resources
================

[](#create-resources)

To create a new resource within a module, use the following command:

```
php artisan redux:make-resource

```

Create Services
===============

[](#create-services)

To create a new service within a module, use the following command:

```
php artisan redux:make-service

```

Create Repositories
===================

[](#create-repositories)

To create a new repository within a module, use the following command:

```
php artisan redux:make-repository

```

Create Interface
================

[](#create-interface)

To create a new interface within a module, use the following command:

```
php artisan redux:make-interface

```

Create Traits
=============

[](#create-traits)

To create a new trait within a module, use the following command:

```
php artisan redux:make-trait

```

License
-------

[](#license)

This project is licensed under the MIT License. See the [MIT license](LICENSE) file for details.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance32

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

Total

9

Last Release

683d ago

PHP version history (2 changes)v1.0.1PHP &gt;=5.6

v1.0.3PHP &gt;=8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/800d778bcee84643566edba05a14e71700aea8d1cdda63637a60ea5a1cfb53b4?d=identicon)[reduxd1996](/maintainers/reduxd1996)

---

Top Contributors

[![reduxd1996](https://avatars.githubusercontent.com/u/172018943?v=4)](https://github.com/reduxd1996 "reduxd1996 (27 commits)")

---

Tags

modularmodular-architecturelaravel-modular

### Embed Badge

![Health badge](/badges/redux-modular/health.svg)

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

###  Alternatives

[aedart/athenaeum

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

245.2k](/packages/aedart-athenaeum)[realmrhex/filament-modular-v3

Modular functionality for FilamentPHP v3.

153.9k](/packages/realmrhex-filament-modular-v3)[ammardaana/laravel-domain-driven-design

Generate laravel Domain driven design (monolith) structure

111.2k](/packages/ammardaana-laravel-domain-driven-design)

PHPackages © 2026

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