PHPackages                             manuelgil/ci4-mustache - 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. [Framework](/categories/framework)
4. /
5. manuelgil/ci4-mustache

ActiveProject[Framework](/categories/framework)

manuelgil/ci4-mustache
======================

🔥 Boilerplate: Mustache template engine for CodeIgniter 4 framework

v1.19.0(1y ago)021MITPHPPHP ^8.1

Since Oct 7Pushed 1y ago1 watchersCompare

[ Source](https://github.com/ManuelGil/ci4-mustache)[ Packagist](https://packagist.org/packages/manuelgil/ci4-mustache)[ GitHub Sponsors](https://github.com/ManuelGil)[ Fund](https://ko-fi.com/ManuelGil)[ RSS](/packages/manuelgil-ci4-mustache/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (10)Dependencies (6)Versions (22)Used By (0)

Codeigniter 4 with Mustache Template Engine
===========================================

[](#codeigniter-4-with-mustache-template-engine)

[![Packagist Version](https://camo.githubusercontent.com/24ad3c2c93ebf2d332928957c3392fca7c70e947bb1a4a68fd3a52a40bc39bd8/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f6d616e75656c67696c2f6369342d6d757374616368653f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374)](https://packagist.org/packages/manuelgil/ci4-mustache)[![Packagist Downloads](https://camo.githubusercontent.com/3f9e4a2fa0e6aef2cbdd76430b5da7051ee2e5b5d3397b1d3dcd05fd95d5a836/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f6d616e75656c67696c2f6369342d6d757374616368653f7374796c653d666f722d7468652d6261646765266c6f676f3d7061636b6167697374)](https://packagist.org/packages/manuelgil/ci4-mustache)[![Packagist Stars](https://camo.githubusercontent.com/93e0aadaa9af89f85cd0c847a45234ac24654ab5ad82fdef77939af965d2d4fd/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f73746172732f6d616e75656c67696c2f6369342d6d757374616368653f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://github.com/ManuelGil/ci4-mustache)[![Packagist License](https://camo.githubusercontent.com/2155bdf355fd61b37cef53bd2ef3550d0f0cfad7182ce11f2319f84c73f1aa89/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f6c2f6d616e75656c67696c2f6369342d6d757374616368653f7374796c653d666f722d7468652d6261646765266c6f676f3d676974687562)](https://github.com/ManuelGil/ci4-mustache/blob/main/LICENSE)

🔥 Boilerplate: Mustache template engine for CodeIgniter 4 framework. This project is a simple and fast way to start a new project with CodeIgniter 4 and Mustache Template Engine.

This project is based on the [Codeigniter 4 with Template Engine](https://github.com/ManuelGil/ci4-template-engine).

Requirements
------------

[](#requirements)

- [PHP 8.1](https://www.php.net/releases/8_1_0.php) or later
    - [intl](http://php.net/manual/en/intl.requirements.php)
    - [libcurl](http://php.net/manual/en/curl.requirements.php) if you plan to use the HTTP\\CURLRequest library
    - json (enabled by default - don't turn it off)
    - [mbstring](http://php.net/manual/en/mbstring.installation.php)
    - [mysqlnd](http://php.net/manual/en/mysqlnd.install.php) if you plan to use MySQL
    - xml (enabled by default - don't turn it off)

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

[](#installation)

### Copy this project

[](#copy-this-project)

1. Clone or Download this repository
2. Unzip the archive if needed
3. Rename the folder if needed
4. Start a Text Editor (VSCode, Sublime, PHPStorm, etc)
5. Add the project folder to the editor

### Install the project

[](#install-the-project)

You can install this project via composer with the following commands:

#### *Development*

[](#development)

- Required a composer installation.

```
composer install
```

- Downloading [composer.phar](https://getcomposer.org/download/).

```
sudo php composer.phar install
```

#### *Production*

[](#production)

- Required a composer installation.

```
composer install --no-dev --optimize-autoloader
```

- Downloading [composer.phar](https://getcomposer.org/download/).

```
sudo php composer.phar install --no-dev --optimize-autoloader
```

Configure the project
---------------------

[](#configure-the-project)

- Copy the [`env`](./env) file and call it `.env`.

```
cp env .env
```

- Edit the environment variables in the .env file as you need.
- Make www-data the owner to `writable` folder.

```
sudo chown -R www-data: writable/
```

- Start project

```
php spark serve
```

Built With
----------

[](#built-with)

- CodeIgniter 4.5.4 ([CodeIgniter](https://www.codeigniter.com/download))
- Mustache Template Engine - Snippets &amp; Autocomplete for VSCode ([Mustache Template - Snippets &amp; Autocomplete](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-mustache-snippets))

Changelog
---------

[](#changelog)

See [CHANGELOG.md](./CHANGELOG.md)

Contributing
------------

[](#contributing)

Thank you for considering contributing to alternative admin. The contribution guide can be found in the [CONTRIBUTING.md](./.github/CONTRIBUTING.md).

Code of Conduct
---------------

[](#code-of-conduct)

In order to ensure that the alternate admin community is welcoming to all, please review and abide by the [CODE\_OF\_CONDUCT](./.github/CODE_OF_CONDUCT.md).

Authors
-------

[](#authors)

- **Manuel Gil** - *Owner* - [ManuelGil](https://github.com/ManuelGil)

See also the list of [contributors](https://github.com/ManuelGil/ci4-mustache/contributors)who participated in this project.

License
-------

[](#license)

This project is licensed under the MIT License - see the [MIT](https://opensource.org/licenses/MIT) for details.

###  Health Score

32

—

LowBetter than 72% of packages

Maintenance42

Moderate activity, may be stable

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity65

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

Recently: every ~70 days

Total

21

Last Release

478d ago

PHP version history (2 changes)v1.0.0PHP ^7.4 || ^8.0

v1.15.0PHP ^8.1

### Community

Maintainers

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

---

Top Contributors

[![ManuelGil](https://avatars.githubusercontent.com/u/25472045?v=4)](https://github.com/ManuelGil "ManuelGil (26 commits)")

---

Tags

codeignitercodeigniter-mustachecodeigniter-templatecodeigniter4codeigniter4-mustachecodeigniter4-templatemustache-templatephpframeworkcodeignitertemplatemvcmustachecitemplate enginecodeigniter4CI4CodeIgniter 4ci-4mustache template engine

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/manuelgil-ci4-mustache/health.svg)

```
[![Health](https://phpackages.com/badges/manuelgil-ci4-mustache/health.svg)](https://phpackages.com/packages/manuelgil-ci4-mustache)
```

###  Alternatives

[opulence/opulence

The Opulence PHP framework

72329.0k1](/packages/opulence-opulence)[slim/php-view

Render PHP view scripts into a PSR-7 Response object.

2739.7M95](/packages/slim-php-view)[abydahana/aksara

Aksara is a CodeIgniter based CRUD Toolkit you can use to build complex applications become shorter, secure and more reliable just in a few lines of code. Serving both CMS or Framework, produce both HEADLESS (RESTful API) or TRADITIONAL (Browser Based), just by writing single controller. Yet it's reusable, scalable and ready to use!

1101.2k](/packages/abydahana-aksara)[mirekmarek/php-jet

PHP Jet is modern, powerful, real-life proven, really fast and secure, small and light-weight framework for PHP8 with great clean and flexible modular architecture containing awesome developing tools. No magic, just clean software engineering.

241.3k](/packages/mirekmarek-php-jet)

PHPackages © 2026

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