PHPackages                             mycmdev/nova-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. [Framework](/categories/framework)
4. /
5. mycmdev/nova-modules

ActiveLibrary[Framework](/categories/framework)

mycmdev/nova-modules
====================

A Laravel Nova Tool helping modularize your application

v1.3.4(5y ago)74.4k5[9 issues](https://github.com/mycmdev/nova-modules/issues)MITPHPPHP &gt;=7.3.9CI failing

Since Apr 6Pushed 5y ago1 watchersCompare

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

READMEChangelog (8)Dependencies (2)Versions (11)Used By (0)

Nova Modules v1.3.0 by CmDevelopment
====================================

[](#nova-modules-v130-by-cmdevelopment)

[![PHP from Packagist](https://camo.githubusercontent.com/3e23fca0ef9bde92abc2077ee01b13294eca1b7c1eeaf458e34d8b47bb341749/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d79636d6465762f6e6f76612d6d6f64756c65733f7374796c653d706c6173746963)](https://camo.githubusercontent.com/3e23fca0ef9bde92abc2077ee01b13294eca1b7c1eeaf458e34d8b47bb341749/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f7068702d762f6d79636d6465762f6e6f76612d6d6f64756c65733f7374796c653d706c6173746963)[![Packagist](https://camo.githubusercontent.com/0788e1228b627828b7f7f81825ffbc3f90b30adcb8b33376fa56ff7c0d7c96fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d79636d6465762f6e6f76612d6d6f64756c65733f636f6c6f723d79656c6c6f77267374796c653d706c6173746963)](https://camo.githubusercontent.com/0788e1228b627828b7f7f81825ffbc3f90b30adcb8b33376fa56ff7c0d7c96fe/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d79636d6465762f6e6f76612d6d6f64756c65733f636f6c6f723d79656c6c6f77267374796c653d706c6173746963)[![Packagist](https://camo.githubusercontent.com/c23b65c93b98ffb91ff0249057f6b44d1bc08bac78e6483e2a6b8e77ce2941fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d79636d6465762f6e6f76612d6d6f64756c65733f636f6c6f723d677265656e267374796c653d706c6173746963)](https://camo.githubusercontent.com/c23b65c93b98ffb91ff0249057f6b44d1bc08bac78e6483e2a6b8e77ce2941fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d79636d6465762f6e6f76612d6d6f64756c65733f636f6c6f723d677265656e267374796c653d706c6173746963)

A Laravel Nova Tool helping modularize your application. Often happens that our applications grow a lot and we need a lot of models, resources, lenses, actions, migrations etc.. With this package we can divide our nova parts in little chunks (or modules).

Let's start
-----------

[](#lets-start)

To start you just need to install the composer package

```
    composer require mycmdev/nova-modules
```

In our composer.json we have to add

```
    "autoload": {
            "psr-4": {
                "NovaModules\\": "nova-modules/"
            }
        },
```

"nova-modules" and "NovaModules" are the default folder and default namespace for the package, but you can change it publishing the config file with the command:

```
    php artisan vendor:publish --tag=nova-modules
```

and changing it on:

```
    'path' => 'nova-modules',
    'namespace' => 'NovaModules'
```

now we just need to type the command:

```
    php artisan nova-modules:make {name of our module}
```

and our module will be autocreated with all his subfolders.

Directory Structure
-------------------

[](#directory-structure)

So we'll have a structure like this :

- NovaModules
    - TestModule
        - Actions
        - Assets
            - js
                - Fields
                - Filters
                - Cards
                - ResourceTools
                - Tools
            - sass
            - views
        - Cards
        - Dashboards
        - Database
            - migrations
            - seeds
        - Fields
        - Filters
        - Lenses
        - Metrics
        - Models
        - Providers
        - Resources
        - ResourcesTools
        - Routes
        - Tools

Commands
--------

[](#commands)

NovaModules has an artisan command for almost everything we need:

**For creating new action**

```
php artisan nova-modules:action {action-name} {module-name}
```

---

**For creating new card**

*note: it will create a folder in our assets with the Vue file so we can integrate it in our main JS file*

```
php artisan nova-modules:card {card-name} {module-name}
```

---

**For creating new custom filter**

*note: this one as well will create a folder in our assets with the Vue file*

```
php artisan nova-modules:custom-filter {custom-filter-name} {module-name}
```

---

**For creating new dasboard**

```
php artisan nova-modules:dashboard {dashboard-name} {module-name}
```

---

**For creating a new Field**

*note: this one will create the 3 different Vue files for each view in our nova application.*

```
php artisan nova-modules:field {field-name} {module-name}
```

---

**For creating a new filter**

```
php artisan nova-modules:filter {filter-name} {module-name}
```

---

**For creating a new lens**

```
php artisan nova-modules:lens {lens-name} {module-name}
```

---

**For creating a migration**

```
php artisan nova-modules:migration {migration-name} {module-name}
```

---

**For creating a new model**

```
php artisan nova-modules:model {model-name} {module-name}
```

---

**For creating a new partition metric**

```
php artisan nova-modules:partition {partition-name} {module-name}
```

---

**If we need to integrate another service provider in our module**

*note: you need to register it in your main module service provider.*

```
php artisan nova-modules:provider {provider-name} {module-name}
```

---

**For creating a new resource**

*note: resources are all auto loaded in your main application and they are grouped by default with the name of your module.*

```
php artisan nova-modules:resource {resource-name} {module-name}
```

---

**For creating a new resource-tool**

*note: this will create as weel Vue file inside your assets folder.*

```
php artisan nova-modules:resource-tool {resource-tool-name} {module-name}
```

---

**For creating a new tool connected with your module**

*note: this will create Vue file inside your assets folder as well a navigation.blade inside the Assets/views folder .*

*I don't know if maybe in a future release i will add a system for autoloading*

```
php artisan nova-modules:tool {tool-name} {module-name}
```

---

**For creating a new trend metric**

```
php artisan nova-modules:trend {trend-name} {module-name}
```

---

**For creating a new value metric**

```
php artisan nova-modules:value {value-name} {module-name}
```

---

**For creating a new policy**

```
php artisan nova-modules:policy {policy-name} {module-name}
```

---

>

Thanks
------

[](#thanks)

I would like to thank @nWidart for giving me the idea about modular laravel application with his great package [nwidart/laravel-modules](https://github.com/nWidart/laravel-modules)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](https://github.com/mycmdev/nova-modules/blob/master/LICENSE) for more information.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance0

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity57

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

Recently: every ~3 days

Total

10

Last Release

1848d ago

PHP version history (2 changes)1.0.0PHP &gt;=7.3.15

1.2.1PHP &gt;=7.3.9

### Community

Maintainers

![](https://www.gravatar.com/avatar/4634f6f92c84533284175d1906210287e9a71e6e1aa020b8ecaeb6a3389a0990?d=identicon)[Makrid87](/maintainers/Makrid87)

---

Top Contributors

[![mycmdev](https://avatars.githubusercontent.com/u/30589700?v=4)](https://github.com/mycmdev "mycmdev (15 commits)")

---

Tags

laravel-novanova-moduleslaravelgeneratormodulenovacmdev

### Embed Badge

![Health badge](/badges/mycmdev-nova-modules/health.svg)

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

###  Alternatives

[internachi/modular

Modularize your Laravel apps

1.1k662.4k8](/packages/internachi-modular)[artem-schander/l5-modular

Modular pattern generator for Laravel

223235.5k](/packages/artem-schander-l5-modular)[laravel-lang/common

Easily connect the necessary language packs to the application

1463.1M22](/packages/laravel-lang-common)[pingpong/modules

Laravel Modules

592188.7k13](/packages/pingpong-modules)

PHPackages © 2026

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