Skip to content

ManuelGil/ci4-template-engine

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Codeigniter 4 with Template Engine

GitHub Release GitHub Release Date GitHub license

Example of template engine integration in CodeIgniter 4

This repository includes:

Requirements

  • PHP 7.4 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 wrapper 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 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.

About

🔥 Example of template engine integration in CodeIgniter 4

Topics

Resources

License

Code of conduct

Contributing

Stars

Watchers

Forks

Sponsor this project

  •  

Packages

 
 
 

Contributors