Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/manuelgil/ci4-mustache
🔥 Boilerplate with CodeIgniter 4 and Mustache Template Engine.
https://github.com/manuelgil/ci4-mustache
codeigniter codeigniter-mustache codeigniter-template codeigniter4 codeigniter4-mustache codeigniter4-template mustache-template
Last synced: 29 days ago
JSON representation
🔥 Boilerplate with CodeIgniter 4 and Mustache Template Engine.
- Host: GitHub
- URL: https://github.com/manuelgil/ci4-mustache
- Owner: ManuelGil
- License: mit
- Created: 2022-10-07T02:33:50.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-04-14T19:44:28.000Z (7 months ago)
- Last Synced: 2024-05-02T04:33:33.379Z (7 months ago)
- Topics: codeigniter, codeigniter-mustache, codeigniter-template, codeigniter4, codeigniter4-mustache, codeigniter4-template, mustache-template
- Language: PHP
- Homepage: https://packagist.org/packages/manuelgil/ci4-mustache
- Size: 341 KB
- Stars: 1
- Watchers: 2
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- Changelog: CHANGELOG.md
- Contributing: .github/CONTRIBUTING.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Code of conduct: .github/CODE_OF_CONDUCT.md
Awesome Lists containing this project
README
# Codeigniter 4 with Mustache Template Engine
[![Packagist Version](https://img.shields.io/packagist/v/manuelgil/ci4-mustache?style=for-the-badge&logo=packagist)](https://packagist.org/packages/manuelgil/ci4-mustache)
[![Packagist Downloads](https://img.shields.io/packagist/dt/manuelgil/ci4-mustache?style=for-the-badge&logo=packagist)](https://packagist.org/packages/manuelgil/ci4-mustache)
[![Packagist Stars](https://img.shields.io/packagist/stars/manuelgil/ci4-mustache?style=for-the-badge&logo=github)](https://github.com/ManuelGil/ci4-mustache)
[![Packagist License](https://img.shields.io/packagist/l/manuelgil/ci4-mustache?style=for-the-badge&logo=github)](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
- [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
### 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
You can install this project via composer with the following commands:
#### _Development_
- Required a composer installation.
```bash
composer install
```- Downloading [composer.phar](https://getcomposer.org/download/).
```bash
sudo php composer.phar install
```#### _Production_
- Required a composer installation.
```bash
composer install --no-dev --optimize-autoloader
```- Downloading [composer.phar](https://getcomposer.org/download/).
```bash
sudo php composer.phar install --no-dev --optimize-autoloader
```## Configure the project
- Copy the [`env`](./env) file and call it `.env`.
```bash
cp env .env
```- Edit the environment variables in the .env file as you need.
- Make www-data the owner to `writable` folder.
```bash
sudo chown -R www-data: writable/
```- Start project
```bash
php spark serve
```## Built With
- CodeIgniter 4.5.4 ([CodeIgniter](https://www.codeigniter.com/download))
- Mustache Template Engine - Snippets & Autocomplete for VSCode ([Mustache Template - Snippets & Autocomplete](https://marketplace.visualstudio.com/items?itemName=imgildev.vscode-mustache-snippets))## Changelog
See [CHANGELOG.md](./CHANGELOG.md)
## 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
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
- **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
This project is licensed under the MIT License - see the [MIT](https://opensource.org/licenses/MIT) for details.