PHPackages                             nguyenanhung/slim-3-hmvc-skeleton - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. nguyenanhung/slim-3-hmvc-skeleton

ActiveProject[HTTP &amp; Networking](/categories/http)

nguyenanhung/slim-3-hmvc-skeleton
=================================

A Slim Framework 3 skeleton Hierarchical Model View Controller application for rapid development

v3.11.0(7y ago)423MITPHPPHP &gt;=5.5.0

Since Oct 29Pushed 7y agoCompare

[ Source](https://github.com/nguyenanhung/slim-3-hmvc-skeleton)[ Packagist](https://packagist.org/packages/nguyenanhung/slim-3-hmvc-skeleton)[ Docs](http://github.com/nguyenanhung/slim-3-hmvc-skeleton)[ RSS](/packages/nguyenanhung-slim-3-hmvc-skeleton/feed)WikiDiscussions master Synced yesterday

READMEChangelog (1)Dependencies (9)Versions (2)Used By (0)

Slim Framework 3 Skeleton HMVC Application
==========================================

[](#slim-framework-3-skeleton-hmvc-application)

**Modular Extensions** makes the **Slim 3** micro framework modular. Modules are groups of independent components, typically model, controller and view, arranged in an application modules sub-directory that can be dropped into other **Slim 3** applications.

**HMVC** stands for **Hierarchical Model View Controller**.

Module Controllers can be used as normal Controllers or HMVC Controllers and they can be used as widgets to help you build view partials.

### What HMVC ?

[](#what-hmvc-)

**Hierarchical model–view–controller** (**HMVC**) is a software architectural pattern, a variation of **model–view–controller** (**MVC**) similar to **presentation–abstraction–control** (**PAC**), that was published in 2000 in an article in JavaWorld Magazine, the authors apparently unaware of PAC, which was published 13 years earlier.

The controller has some oversight in that it selects first the model and then the view, realizing an approval mechanism by the controller. The model prevents the view from accessing the data source directly.

**PAC**

[![](https://camo.githubusercontent.com/2710d23aa9e05cab1bead048fa19bac457f308181f75479f6751847a00f530cf/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f342f34612f5061632d736368656d612e706e67)](https://camo.githubusercontent.com/2710d23aa9e05cab1bead048fa19bac457f308181f75479f6751847a00f530cf/68747470733a2f2f75706c6f61642e77696b696d656469612e6f72672f77696b6970656469612f636f6d6d6f6e732f342f34612f5061632d736368656d612e706e67)

and **HMVC**

[![](https://camo.githubusercontent.com/b63b2662631cb6ce18c3580c5b7164101e60fcc64a07e46dec58e95cee831ae3/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f696e766971612d756b2f696d6167652f75706c6f61642f76313437303133353237332f67617a6f75696c6c656d656e742e706e67)](https://camo.githubusercontent.com/b63b2662631cb6ce18c3580c5b7164101e60fcc64a07e46dec58e95cee831ae3/68747470733a2f2f7265732e636c6f7564696e6172792e636f6d2f696e766971612d756b2f696d6167652f75706c6f61642f76313437303133353237332f67617a6f75696c6c656d656e742e706e67)

See: [Hierarchical Model View Controller from Wikipedia](https://en.wikipedia.org/wiki/Hierarchical_model%E2%80%93view%E2%80%93controller)

Install the Application
-----------------------

[](#install-the-application)

Run this command from the directory in which you want to install your new Slim Framework application.

```
composer create-project nguyenanhung/slim-3-hmvc-skeleton [my-app-name]
```

or

```
php composer.phar create-project nguyenanhung/slim-3-hmvc-skeleton [my-app-name]
```

Replace `[my-app-name]` with the desired directory name for your new application. You'll want to:

- Point your virtual host document root to your new application's `public/` directory.
- Ensure `storage/` is web writeable.

To run the application in development, you can run these commands

```
cd [my-app-name]
php composer.phar start
```

Run this command in the application directory to run the test suite

```
php composer.phar test
```

or

```
./vendor/bin/phpunit
```

That's it! Now go build something cool.

Running via CLI / Command Line Interface
----------------------------------------

[](#running-via-cli--command-line-interface)

Project **slim-3-hmvc-skeleton** use **symfony/console** is handle Console request

Example

```
composer worker app:test-command
```

or

```
php cli.php  app:test-command
```

@see: [Symfony Console](https://symfony.com/doc/3.4/components/console.html)

Structure Project
-----------------

[](#structure-project)

See full Structure: [TREE.md](https://github.com/nguyenanhung/slim-3-hmvc-skeleton/blob/master/TREE.md)

Contact
-------

[](#contact)

If any quetion &amp; request, please contact following infomation

NameEmailSkypeFacebookHung Nguyennguyenanhung5891[@nguyenanhung](https://fb.com/nguyenanhung)From Hanoi with Love &lt;3

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity56

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

Unknown

Total

1

Last Release

2753d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/3694ef9f3367ff9f6bcd668ca1d6726e3c55e6fd379cba9c2d4ab6a24595fbd8?d=identicon)[7135k13m](/maintainers/7135k13m)

---

Tags

hmvchmvc-bundlehmvc-extentionhmvc-frameworkslimslim-3slim-3-hmvcslim-3-hmvc-skeletonslim-frameworkslim-micro-frameworkslim-skeletonslimphpconsolerestrouterpsr7slimmvcSkeletonhmvcmodularmicro-frameworkslim 3php micro frameworkHierarchical model view controller

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/nguyenanhung-slim-3-hmvc-skeleton/health.svg)

```
[![Health](https://phpackages.com/badges/nguyenanhung-slim-3-hmvc-skeleton/health.svg)](https://phpackages.com/packages/nguyenanhung-slim-3-hmvc-skeleton)
```

PHPackages © 2026

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