PHPackages                             adxio/twig-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. [Templating &amp; Views](/categories/templating)
4. /
5. adxio/twig-hmvc

ActiveLibrary[Templating &amp; Views](/categories/templating)

adxio/twig-hmvc
===============

Twig and HMVC Integration for Code Igniter 3.x

v2.0.3(6y ago)0271[1 issues](https://github.com/adxio/twig-hmvc/issues)MITPHPPHP &gt;=7.0CI passing

Since Jan 25Pushed 6y ago2 watchersCompare

[ Source](https://github.com/adxio/twig-hmvc)[ Packagist](https://packagist.org/packages/adxio/twig-hmvc)[ RSS](/packages/adxio-twig-hmvc/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (17)Used By (0)

Twig and HMVC for Codeigniter
=============================

[](#twig-and-hmvc-for-codeigniter)

[![Latest Stable Version](https://camo.githubusercontent.com/9d379efaf1a72454b4698728bf19d5a66f324e65b543a3e0f2105b39fd931ec3/68747470733a2f2f706f7365722e707567782e6f72672f616478696f2f747769672d686d76632f762f737461626c65)](https://packagist.org/packages/adxio/twig-hmvc)[![Total Downloads](https://camo.githubusercontent.com/a94753d1726e8e7ce7a24e4cc213bacdd5fd63430f1ca8314b57a5ece195ccec/68747470733a2f2f706f7365722e707567782e6f72672f616478696f2f747769672d686d76632f646f776e6c6f616473)](https://packagist.org/packages/adxio/twig-hmvc)[![Latest Unstable Version](https://camo.githubusercontent.com/bf1b7d0be40ccb0d5deb6c1964e3ec548cf50ab90f257afe2887e845cd50d1e1/68747470733a2f2f706f7365722e707567782e6f72672f616478696f2f747769672d686d76632f762f756e737461626c65)](https://packagist.org/packages/adxio/twig-hmvc)[![License](https://camo.githubusercontent.com/c858809b827b70c156337a88ed9a3837ce14fb13fba4fa709fef6580e8e39ec1/68747470733a2f2f706f7365722e707567782e6f72672f616478696f2f747769672d686d76632f6c6963656e7365)](https://packagist.org/packages/adxio/twig-hmvc)

Twig and HMVC Integration for Code Igniter 3.1.10

Server Requirements
-------------------

[](#server-requirements)

PHP version 7 or newer. Twig 2.6.2 or later.

Folder Structure
----------------

[](#folder-structure)

```
root/
└── application/
    └── module/
        └── welcome/
            └── controllers
                └── Welcome.php
            └── models
                └── Model.php
            └── views
                └── welcome.twig

```

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

[](#installation)

### With Composer

[](#with-composer)

```
$ cd /to/path/root/codeigniter
$ composer require adxio/twig-hmvc

```

For installation following this command

```
$ php vendor/adxio/twig-hmvc/install.php

```

And then you must change owner of folder cache

```
$ sudo chown www-data:www-data application/cache

```

- You must run at CodeIgniter root folder

#### Done and Happy coding

[](#done-and-happy-coding)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

Established project with proven stability

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

Recently: every ~94 days

Total

16

Last Release

2282d ago

Major Versions

0.2.5 → v1.0.02019-01-27

v1.0.0 → v2.0.02020-02-08

### Community

Maintainers

![](https://www.gravatar.com/avatar/40ba209b92c7e79a3fea159a4545395d6bf0d252e4f8f64dba8e33ddca03dfaf?d=identicon)[adxio](/maintainers/adxio)

---

Top Contributors

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

---

Tags

twighmvc

### Embed Badge

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

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

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

91292.0M313](/packages/twig-extra-bundle)[twig/intl-extra

A Twig extension for Intl

36663.2M218](/packages/twig-intl-extra)[rcrowe/twigbridge

Adds the power of Twig to Laravel

9105.9M50](/packages/rcrowe-twigbridge)[twig/string-extra

A Twig extension for Symfony String

21946.0M132](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

23018.5M53](/packages/twig-cssinliner-extra)[symfony/ux-twig-component

Twig components for Symfony

21814.8M161](/packages/symfony-ux-twig-component)

PHPackages © 2026

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