manuelgil/ci4-mustache

🔥 Boilerplate: Mustache template engine for CodeIgniter 4 framework

Fund package maintenance!
ManuelGil
Ko Fi

Installs: 1

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Open Issues: 0

Type:project

v1.17.0 2024-07-30 00:38 UTC

This package is auto-updated.

Last update: 2024-10-30 01:21:31 UTC


README

Packagist Version Packagist Downloads Packagist Stars Packagist 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.

Requirements

  • PHP 8.1 or later
    • intl
    • libcurl if you plan to use the HTTP\CURLRequest library
    • json (enabled by default - don't turn it off)
    • mbstring
    • mysqlnd 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.
composer install
sudo php composer.phar install

Production

  • Required a composer installation.
composer install --no-dev --optimize-autoloader
sudo php composer.phar install --no-dev --optimize-autoloader

Configure the project

  • Copy the 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

Changelog

See CHANGELOG.md

Contributing

Thank you for considering contributing to alternative admin. The contribution guide can be found in the 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.

Authors

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the MIT for details.