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

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

mtech/module-helper
===================

Utilities for M-Tech API Projects that using laravel module pattern

1.0.7(2y ago)02.5k↑600%MITPHPPHP 7.4.\*

Since Oct 12Pushed 2y ago1 watchersCompare

[ Source](https://github.com/shipsfocus/module-helper)[ Packagist](https://packagist.org/packages/mtech/module-helper)[ Docs](https://www.shipsfocus.com)[ RSS](/packages/mtech-module-helper/feed)WikiDiscussions master Synced 1mo ago

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

Mtech Module helper
===================

[](#mtech-module-helper)

Create Template for Migration, Model, Contract, and Repository in Modules with one command

### Installation

[](#installation)

`composer require mtech/module-helper --dev`

### How to use

[](#how-to-use)

```
php artisan mtech:make-model {module} {table} {model} --meta
php artisan mtech:make-attachment {module} {table} {model}

```

Example:

- Model:

    ```
    php artisan mtech:make-model Voyage voyage_details VoyageDetail

    ```
- Meta: Please note that to create metas, include the option `--meta` in the command:

    ```
    php artisan mtech:make-model Voyage voyage_types VoyageType --meta

    ```

    - Attachment: Please note that third variable is the Model that this attachment belongs to. In this example, we want to create voyage attachment, so the third variable should be **Voyage**:

    ```
    php artisan mtech:make-attachment Voyage voyage_attachments Voyage

    ```

Important Notes
---------------

[](#important-notes)

You still need to bind contract and repository in the Config/config.php

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity21

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

Every ~39 days

Recently: every ~68 days

Total

8

Last Release

1037d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/457a0c3c28e1e60c452ecde6e3f97867dcbaffe66beaf6e9c6711db5f91ddc73?d=identicon)[shipsfocus](/maintainers/shipsfocus)

### Embed Badge

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

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

###  Alternatives

[wireui/wireui

TallStack components

1.8k1.3M16](/packages/wireui-wireui)[livewire/volt

An elegantly crafted functional API for Laravel Livewire.

4205.3M84](/packages/livewire-volt)[ramonrietdijk/livewire-tables

Dynamic tables for models with Laravel Livewire

21147.4k](/packages/ramonrietdijk-livewire-tables)

PHPackages © 2026

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