Skip to content

Twig template parser for CodeIgniter 3.xx+ (supports themes and HMVC)

Notifications You must be signed in to change notification settings

PinkTie/Twig-CodeIgniter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

4 Commits
 
 
 
 

Repository files navigation

Twig-CodeIgniter

Twig template parser for CodeIgniter 3.xx+ (supports themes and HMVC)

Installation

Place the Twig into the application/third_party folder or adjust the location in application/libraries/Twig.php

Usage

Load the library

$this->load->library('twig');

Output a view

$this->twig->render('template', $data);

Change a theme

$this->twig->setTheme('themename');

Config

Configuration varibles are stored in application/config/twig.php

About

Twig template parser for CodeIgniter 3.xx+ (supports themes and HMVC)

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages