PHPackages                             twigniter/codeigniter - 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. twigniter/codeigniter

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

twigniter/codeigniter
=====================

The Twigniter Boilerplate

v1.0(5y ago)213[1 PRs](https://github.com/darkterminal/twigniter/pulls)MITPHPPHP &gt;=5.3.7

Since Jun 1Pushed 1y ago1 watchersCompare

[ Source](https://github.com/darkterminal/twigniter)[ Packagist](https://packagist.org/packages/twigniter/codeigniter)[ Docs](https://codeigniter.com)[ RSS](/packages/twigniter-codeigniter/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (1)Dependencies (4)Versions (3)Used By (0)

[![GitHub release (latest by date)](https://camo.githubusercontent.com/f4dfc758aceb5a04cb75a0c73bace559ea63a2dcc3fd5b867bcfbcd9d3b94684/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6461726b7465726d696e616c2f747769676e69746572)](https://camo.githubusercontent.com/f4dfc758aceb5a04cb75a0c73bace559ea63a2dcc3fd5b867bcfbcd9d3b94684/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f762f72656c656173652f6461726b7465726d696e616c2f747769676e69746572) [![GitHub issues](https://camo.githubusercontent.com/00f21a4be8c282498ead948e5204e84495eade008c6003b0e78b0b556f81dd32/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732f6461726b7465726d696e616c2f747769676e69746572)](https://github.com/darkterminal/twigniter/issues) [![GitHub forks](https://camo.githubusercontent.com/46fc3604ea5d10010dbf59312c0b82f2cca67bf11ad047353d717cbbc33c402a/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f666f726b732f6461726b7465726d696e616c2f747769676e69746572)](https://github.com/darkterminal/twigniter/network) [![GitHub stars](https://camo.githubusercontent.com/2c4253b0def34f5efe0c6e08133e6ffd1061f61bb9098db7e672fefae9358eeb/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f73746172732f6461726b7465726d696e616c2f747769676e69746572)](https://github.com/darkterminal/twigniter/stargazers) [![GitHub license](https://camo.githubusercontent.com/7db8a9dfee1b78f0c78393a5c93a13cfe2955f536cd287583595a22ab46bb4ad/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6c6963656e73652f6461726b7465726d696e616c2f747769676e69746572)](https://github.com/darkterminal/twigniter/blob/master/license.txt) [![Twitter](https://camo.githubusercontent.com/bdcd513b3c33f1db134e5e726fb1147d9d1b3ea763f76996a37c5425de21d649/68747470733a2f2f696d672e736869656c64732e696f2f747769747465722f75726c3f7374796c653d736f6369616c2675726c3d6874747073253341253246253246747769747465722e636f6d253246646461726b7465726d696e616c)](https://twitter.com/intent/tweet?text=Wow:&url=https%3A%2F%2Fgithub.com%2Fdarkterminal%2Ftwigniter) [![GitHub repo size](https://camo.githubusercontent.com/722720cc0da92c3f6d18489bcda32f8775ca8747f9b1bf97717030ac0c3a0750/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f6461726b7465726d696e616c2f747769676e69746572)](https://camo.githubusercontent.com/722720cc0da92c3f6d18489bcda32f8775ca8747f9b1bf97717030ac0c3a0750/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7265706f2d73697a652f6461726b7465726d696e616c2f747769676e69746572) [![GitHub search hit counter](https://camo.githubusercontent.com/793eafe275d10edaad19c9445d58604199ef931f1a810016e8976d04c276e00e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7365617263682f6461726b7465726d696e616c2f747769676e697465722f747769676e69746572)](https://camo.githubusercontent.com/793eafe275d10edaad19c9445d58604199ef931f1a810016e8976d04c276e00e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7365617263682f6461726b7465726d696e616c2f747769676e697465722f747769676e69746572) [![GitHub All Releases](https://camo.githubusercontent.com/ec6f5cf0aca27d1705905d26f2eb94b23ad1a3f1502a362fe7a058de48604709/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f6461726b7465726d696e616c2f747769676e697465722f746f74616c)](https://camo.githubusercontent.com/ec6f5cf0aca27d1705905d26f2eb94b23ad1a3f1502a362fe7a058de48604709/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f646f776e6c6f6164732f6461726b7465726d696e616c2f747769676e697465722f746f74616c) [![GitHub issues](https://camo.githubusercontent.com/98cc25bdf7df6421e65e4785fb813998c727c46332c0322f9750f73742fa2864/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f6461726b7465726d696e616c2f747769676e69746572)](https://camo.githubusercontent.com/98cc25bdf7df6421e65e4785fb813998c727c46332c0322f9750f73742fa2864/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f6973737565732d7261772f6461726b7465726d696e616c2f747769676e69746572) [![GitHub pull request check contexts](https://camo.githubusercontent.com/ce17ad5faa07e3ca55481e931ecfa97e5afa49a3b381b925e30885864440ea4e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7374617475732f636f6e74657874732f70756c6c732f6461726b7465726d696e616c2f747769676e697465722f31)](https://camo.githubusercontent.com/ce17ad5faa07e3ca55481e931ecfa97e5afa49a3b381b925e30885864440ea4e/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f7374617475732f636f6e74657874732f70756c6c732f6461726b7465726d696e616c2f747769676e697465722f31) [![GitHub contributors](https://camo.githubusercontent.com/67ed5ef6d807d8b4872874455bcd68f7edd0b033428b132422ba52f78d7f3670/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6461726b7465726d696e616c2f747769676e69746572)](https://camo.githubusercontent.com/67ed5ef6d807d8b4872874455bcd68f7edd0b033428b132422ba52f78d7f3670/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6e7472696275746f72732f6461726b7465726d696e616c2f747769676e69746572) [![GitHub commit activity](https://camo.githubusercontent.com/ca27e1085a054a8f0334363e1759344f3301c071fd4772d8e2d2bb776f1cf2b2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f6461726b7465726d696e616c2f747769676e69746572)](https://camo.githubusercontent.com/ca27e1085a054a8f0334363e1759344f3301c071fd4772d8e2d2bb776f1cf2b2/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f636f6d6d69742d61637469766974792f6d2f6461726b7465726d696e616c2f747769676e69746572)
------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------

[](#------------)

What is Twigniter 🎆
-------------------

[](#what-is-twigniter-fireworks)

Twigniter is a CodeIgniter Application Development Framework - a Boilerplate - for people who build web sites using PHP and Twig as Template Engine. Its goal is to enable you to develop projects much faster than you could if you were writing code from scratch, by providing a rich set of libraries for commonly needed tasks, as well as a simple interface and logical structure to access these libraries. Twigniter lets you creatively focus on your project by minimizing the amount of code needed for a given task.

### Features

[](#features)

- Use All PHP Built-In Functions **Inside Twig Template**
- Twig Functions
- Twig Filters
- Autoload Defined User Constants (Helper) [See](https://github.com/darkterminal/twigniter/blob/master/application/core/Betta_Controller.php#L56)
- Autoload Defined Functions (Helper) [See](https://github.com/darkterminal/twigniter/blob/master/application/helpers/app_helper.php)
- Autoload Defined Filters (Helper) [See](https://github.com/darkterminal/twigniter/blob/master/application/helpers/app_filters.php)
- Symfony VarDumper: Using `debug($data, $die = false)`

### Changelog and New Features

[](#changelog-and-new-features)

You can find a list of all changes for each release in the [user guide change log](https://github.com/bcit-ci/CodeIgniter/blob/develop/user_guide_src/source/changelog.rst).

### Server Requirements

[](#server-requirements)

PHP version 5.6 or newer is recommended.

It should work on 5.3.7 as well, but we strongly advise you NOT to run such old versions of PHP, because of potential security and performance issues, as well as missing features.

### Installation

[](#installation)

**Composer**

```
$ composer create-project twigniter/codeigniter
```

**Manual**

```
$ git clone https://github.com/darkterminal/twigniter.git
```

or

```
$ git clone git@github.com:darkterminal/twigniter.git
```

### License

[](#license)

Please see the [license agreement](https://github.com/bcit-ci/CodeIgniter/blob/develop/user_guide_src/source/license.rst).

### Resources

[](#resources)

- [User Guide](https://codeigniter.com/docs)
- [Language File Translations](https://github.com/bcit-ci/codeigniter3-translations)
- [Community Forums](http://forum.codeigniter.com/)
- [Community Wiki](https://github.com/bcit-ci/CodeIgniter/wiki)
- [Community Slack Channel](https://codeigniterchat.slack.com)
- [Twig Documentation](https://twig.symfony.com/doc/3.x/)

Report security issues to our [Security Panel](mailto:security@codeigniter.com)or via our [page on HackerOne](https://hackerone.com/codeigniter), thank you.

### Acknowledgement

[](#acknowledgement)

The CodeIgniter team would like to thank EllisLab, all the contributors to the CodeIgniter project and you, the CodeIgniter user.

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance30

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity52

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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2175d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/32319439?v=4)[Imam Ali Mustofa](/maintainers/darkterminal)[@darkterminal](https://github.com/darkterminal)

---

Top Contributors

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

---

Tags

boilerplatecodeigniter3twig

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/twigniter-codeigniter/health.svg)

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

###  Alternatives

[twig/extra-bundle

A Symfony bundle for extra Twig extensions

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

A Twig extension for Intl

36663.2M221](/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.0M133](/packages/twig-string-extra)[twig/cssinliner-extra

A Twig extension to allow inlining CSS

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

Twig components for Symfony

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

PHPackages © 2026

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