PHPackages                             hungthai1401/laravel-hmvc - 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. hungthai1401/laravel-hmvc

ActiveLibrary

hungthai1401/laravel-hmvc
=========================

HMVC structure for Laravel

v0.1.1(5y ago)587PHPPHP ^7.2.5CI failing

Since Jul 6Pushed 5y ago1 watchersCompare

[ Source](https://github.com/hungthai1401/laravel-hmvc)[ Packagist](https://packagist.org/packages/hungthai1401/laravel-hmvc)[ RSS](/packages/hungthai1401-laravel-hmvc/feed)WikiDiscussions master Synced yesterday

READMEChangelog (2)Dependencies (2)Versions (5)Used By (0)

Laravel-HMVC
============

[](#laravel-hmvc)

Install
-------

[](#install)

To install through Composer, by run the following command:

```
composer require hungthai1401/laravel-hmvc

```

The package will automatically register a service provider.

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

```
php artisan vendor:publish --provider="HT\Modules\Providers\ModuleServiceProvider"

```

Update your composer.json

```
{
    ...,
    "repositories": [
        {
            "type": "path",
            "url": "./modules/*"
        },
    ]
}

```

Usage
-----

[](#usage)

##### Create new module

[](#create-new-module)

```
php artisan module:create

```

##### Remove a module

[](#remove-a-module)

```
php artisan module:remove

```

#### Create a controller

[](#create-a-controller)

```
php artisan module:make:controller

```

#### Create a model

[](#create-a-model)

```
php artisan module:make:model

```

#### Create a scope

[](#create-a-scope)

```
php artisan module:make:scope

```

#### Create a provider

[](#create-a-provider)

```
php artisan module:make:provider

```

#### Create a facade

[](#create-a-facade)

```
php artisan module:make:facade

```

#### Create a policy

[](#create-a-policy)

```
php artisan module:make:policy

```

#### Create an event

[](#create-an-event)

```
php artisan module:make:event

```

#### Create a listener

[](#create-a-listener)

```
php artisan module:make:listener

```

#### Create a form request

[](#create-a-form-request)

```
php artisan module:make:request

```

#### Create a job

[](#create-a-job)

```
php artisan module:make:job

```

#### Create a command

[](#create-a-command)

```
php artisan module:make:command

```

#### Create a rule

[](#create-a-rule)

```
php artisan module:make:rule

```

#### Create a service

[](#create-a-service)

```
php artisan module:make:service

```

#### Create a repository

[](#create-a-repository)

```
php artisan module:make:repository

```

#### Create a view

[](#create-a-view)

```
php artisan module:make:view

```

#### Create a view composer

[](#create-a-view-composer)

```
php artisan module:make:composer

```

#### Create a migration

[](#create-a-migration)

```
php artisan module:make:migration   --{create|table}

```

#### Create a seeder

[](#create-a-seeder)

```
php artisan module:make:seed

```

#### Create a factory

[](#create-a-factory)

```
php artisan module:make:factory

```

#### Run seeders in a module

[](#run-seeders-in-a-module)

```
php artisan module:db:seed  {--class}

```

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity43

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

Total

2

Last Release

2126d ago

### Community

Maintainers

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

---

Top Contributors

[![hungthai1401](https://avatars.githubusercontent.com/u/22017922?v=4)](https://github.com/hungthai1401 "hungthai1401 (19 commits)")

---

Tags

laravelmodulemoduleshmvc

###  Code Quality

Code StylePHP CS Fixer

### Embed Badge

![Health badge](/badges/hungthai1401-laravel-hmvc/health.svg)

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

###  Alternatives

[pingpong/modules

Laravel Modules

592188.7k13](/packages/pingpong-modules)[internachi/modular

Modularize your Laravel apps

1.1k662.4k8](/packages/internachi-modular)

PHPackages © 2026

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