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

ActiveLibrary

papajoker/hmvc
==============

Laravel 4 pakage for uses controllers-views in a architectural Hmvc

025PHP

Since Jun 29Pushed 12y ago2 watchersCompare

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

READMEChangelogDependenciesVersions (1)Used By (0)

Hmvc
====

[](#hmvc)

A Laravel 4 pakage for uses controllers-views in a architectural Hmvc. Reuse your controllers(include module) in multiple views (built in views)

Installation
------------

[](#installation)

Installing Hmvc is simple. First, you can add the package to the `require` attribute of your `composer.json` file.

```
{
    "require": {
        "papajoker/hmvc": "@master"
    },
}
```

In console run `composer(.phar) update papajoker/hmvc:master`

In console run `php artisan dump autoload`

Add `'Papajoker\Hmvc\HmvcServiceProvider',` to the list of service providers in `/app/config/app.php`

usage
-----

[](#usage)

create your hmvc file in /app/views/

```
return array(
    'controller' => 'RssController', 	// your controller in app/controllers/ or package/controller
    'action' => 'index',				// method controller
    									// attr pass as parameters in action
    'attr' => array( 					// can overwrite in blade view with @include ('.hmvc',$attr)
	'url' =>    'http://www.planet-php.fr/rss.php',
	'max' => 12
	)
);

```

in your blade views :

```
@section('content')
   test a rss built in my page as hmvc

      	@include ( 'myrss' , array('max'=>4) )

@stop

```

exemple
-------

[](#exemple)

in /exemple/ you have a small rss

And voila! You can use the Hmvc.

###  Health Score

20

—

LowBetter than 14% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4b4aa62c99f0f90c62ff77ca457b1f8a0e7693c0ce039f80b7b52eda048eedb4?d=identicon)[papajoker](/maintainers/papajoker)

---

Top Contributors

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

### Embed Badge

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

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

PHPackages © 2026

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