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

AbandonedArchivedLibrary

darthsoup/hmvc
==============

Laravel HMVC.

2.0.0(11y ago)07.3kMITPHPPHP &gt;=5.3.0

Since Mar 5Pushed 9y ago1 watchersCompare

[ Source](https://github.com/darthsoup/laravel-hmvc)[ Packagist](https://packagist.org/packages/darthsoup/hmvc)[ Docs](https://github.com/teepluss/laravel-hmvc)[ RSS](/packages/darthsoup-hmvc/feed)WikiDiscussions master Synced 2mo ago

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

Laravel HMVC.
-------------

[](#laravel-hmvc)

### For Laravel 4, please use the [v1.x branch](https://github.com/teepluss/laravel-hmvc/tree/v1.x)!

[](#for-laravel-4-please-use-the-v1x-branch)

HMVC is a tool for making internal request.

### Installation

[](#installation)

- [HMVC on Packagist](https://packagist.org/packages/teepluss/hmvc)
- [HMVC on GitHub](https://github.com/teepluss/laravel-hmvc)

To get the lastest version of HMVC simply require it in your `composer.json` file.

```
"teepluss/hmvc": "dev-master"

```

You'll then need to run `composer install` to download it and have the autoloader updated.

Once HMVC is installed you need to register the service provider with the application. Open up `config/app.php` and find the `providers` key.

```
'providers' => array(

    'Teepluss\Hmvc\HmvcServiceProvider'

)

```

HMVC also ships with a facade which provides the static syntax for creating collections. You can register the facade in the `aliases` key of your `config/app.php` file.

```
'aliases' => [

    'HMVC' => 'Teepluss\Hmvc\Facades\HMVC',

]

```

Usage
-----

[](#usage)

HMVC helping you to work with internal request.

- [Internal testing request](#internal-testing-request)
- [Calling via artisan CLI](#calling-via-artisan-cli)

### Internal testing request.

[](#internal-testing-request)

```
// GET Request.
HMVC::get('user/1');

// POST Request.
HMVC::post('user', array('title' => 'Demo'));

// PATCH Request.
HMVC::patch('user/1', array('title' => 'Changed'));

// PUT Request.
HMVC::put('user/1', array('title' => 'Changed'));

// DELETE Request.
HMVC::delete('user/1');

// Internal request with domain route.
HMVC::invoke('/someinternalpath', 'post', array('param' => 1))

// You can make remote request without changing code also.
HMVC::post('http://api.github.com', array('username' => 'teepluss'));

// Request remote with invokeRemote.
HMVC::invokeRemote('http://api.github.com', 'post', array('username' => 'teepluss'));

// Configure remote client.
$config = array('auth' => array('admin', 'admin'));
echo HMVC::configureRemoteClient($config)->get('http://127.0.0.1:9200');

// Get Guzzle to use other features.
$guzzle = HMVC::getRemoteClient();
```

> > Remote request using [Guzzle](http://guzzlephp.org/) as an adapter.

Support or Contact
------------------

[](#support-or-contact)

If you have some problem, Contact

[![Support via PayPal](https://camo.githubusercontent.com/1c4c2a63b268ab949717893dda9628735444f61b8eb8eece283a534338b5b0e5/68747470733a2f2f7261776769746875622e636f6d2f63687269732d2d2d2f446f6e6174696f6e2d4261646765732f6d61737465722f70617970616c2e6a706567)](https://www.paypal.com/cgi-bin/webscr?cmd=_s-xclick&hosted_button_id=9GEC8J7FAG6JA)

###  Health Score

30

—

LowBetter than 64% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity18

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity61

Established project with proven stability

 Bus Factor1

Top contributor holds 83.3% 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 ~0 days

Total

3

Last Release

4089d ago

Major Versions

v1.x-dev → 2.0.02015-03-05

### Community

Maintainers

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

---

Top Contributors

[![darthsoup](https://avatars.githubusercontent.com/u/1668978?v=4)](https://github.com/darthsoup "darthsoup (5 commits)")[![lucasmichot](https://avatars.githubusercontent.com/u/513603?v=4)](https://github.com/lucasmichot "lucasmichot (1 commits)")

---

Tags

laravelhmvc

### Embed Badge

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

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

###  Alternatives

[pingpong/modules

Laravel Modules

592188.7k13](/packages/pingpong-modules)[webreinvent/vaahcms

VaahCMS is a laravel based open-source web application development platform shipped with headless content management system.

5758.2k](/packages/webreinvent-vaahcms)[teepluss/hmvc

Laravel HMVC.

7634.7k](/packages/teepluss-hmvc)[teepluss/api

Laravel 4 Internal Request (HMVC)

7034.0k](/packages/teepluss-api)[tomatophp/filament-plugins

Manage your modules as a plugin system with plugin generator

644.7k2](/packages/tomatophp-filament-plugins)[vohof/transmission

Awesome PHP JSON-RPC client library for Transmission

181.7k](/packages/vohof-transmission)

PHPackages © 2026

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