PHPackages                             ahmed/hmvc\_generator - 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. ahmed/hmvc\_generator

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

ahmed/hmvc\_generator
=====================

this package which created to manage your large laravel app using modules \[HMVC\]

2171PHP

Since Jun 3Pushed 7y agoCompare

[ Source](https://github.com/AHMEDHASSAN202/HMVC_Generator)[ Packagist](https://packagist.org/packages/ahmed/hmvc_generator)[ RSS](/packages/ahmed-hmvc-generator/feed)WikiDiscussions master Synced 2w ago

READMEChangelogDependenciesVersions (1)Used By (0)

HMVC\_Generator
===============

[](#hmvc_generator)

A Laravel package to create and manage your large laravel app using modules \[HMVC\]

### Folder Structure

[](#folder-structure)

- Modules
    - Users
        - Config/
        - Database/
            - Migrations/
        - Http/
            - Controllers/
                - TestController.php
            - Middleware/
                - TestMiddleware.php
            - Requests/
                - TestRequest.php
        - Models/
            - Test.php
        - Providers/
            - UsersServiceProvider.php
        - Resources/
            - Lang/
                - ar/
                - en/
            - Views/
                - test.blade.php
        - Routes/
            - web.php "All Routes under "users" prefix"
            - api.php "All Routes under "api/users" prefix"

### Artisan Commands

[](#artisan-commands)

- To create a new module you can simply run :

```
php artisan make:module

```

- Create new Controller for the specified module :

```
php artisan module:controller  --module_name=

```

- Create new Model for the specified module :

```
php artisan module:model  --module_name=

```

- Create new Middleware for the specified module :

```
php artisan module:middleware  --module_name=

```

- Create new Request for the specified module :

```
php artisan module:request  --module_name=

```

- Create new Migration for the specified module :

```
php artisan module:migration  --module_name= --table=

```

### Routes

[](#routes)

> **api.php** =&gt; These routes are loaded by the &lt;module\_name&gt;ServiceProvider within a group which is assigned the "api" middleware group and "api/&lt;module\_name&gt;" prefix

> **web.php** =&gt; These routes are loaded by the &lt;module\_name&gt;ServiceProvider within a group which contains the "web" middleware group and "&lt;module\_name&gt;" prefix.

### Views

[](#views)

> Calling View: view('&lt;module\_name&gt;::view\_file\_name')

You need to add module service provider to the list of providers in the config/app.php file
-------------------------------------------------------------------------------------------

[](#you-need-to-add-module-service-provider-to-the-list-of-providers-in-the-configappphp-file)

###  Health Score

20

—

LowBetter than 13% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity10

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

 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.

### Community

Maintainers

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

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/ahmed-hmvc-generator/health.svg)

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

###  Alternatives

[andrmoel/astronomy-bundle

Bundle for astronomical calculations such as position of moon, sun and planets, sunrise, sunset or solar eclipses. Most of the calculations are based on Jean Meeus 'Astronomical Algorithms' book and the VSOP87 theory.

111.0k](/packages/andrmoel-astronomy-bundle)

PHPackages © 2026

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