π₯ Boilerplate: Twig template engine for CodeIgniter 4 framework. This project is a simple and fast way to start a new project with CodeIgniter 4 and Twig Template Engine.
This project is based on the Codeigniter 4 with Template Engine.
- PHP 8.1 or later
- Clone or Download this repository
- Unzip the archive if needed
- Rename the folder if needed
- Start a Text Editor (VSCode, Sublime, PHPStorm, etc)
- Add the project folder to the editor
You can install this project via composer with the following commands:
- Required a composer installation.
composer install
- Downloading composer.phar.
sudo php composer.phar install
- Required a composer installation.
composer install --no-dev --optimize-autoloader
- Downloading composer.phar.
sudo php composer.phar install --no-dev --optimize-autoloader
- 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
- CodeIgniter 4.5.4 (CodeIgniter)
See CHANGELOG.md
Thank you for considering contributing to alternative admin. The contribution guide can be found in the CONTRIBUTING.md.
In order to ensure that the alternate admin community is welcoming to all, please review and abide by the CODE_OF_CONDUCT.
- Manuel Gil - Owner - ManuelGil
See also the list of contributors who participated in this project.
This project is licensed under the MIT License - see the MIT for details.