Skip to content

A basic CodeIgniter library for using the Twig template language

Notifications You must be signed in to change notification settings

MaherSaif/codeigniter-twig

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

5 Commits
 
 
 
 
 
 
 
 

Repository files navigation

A basic CodeIgniter library for using the Twig template language

Usage:

	First, Create twig directory under system/cache; and
	give it write permission
	
	$ mkdir system/cache/twig
	$ chmod o+w system/cache/twig

	Then, Put in your controller,

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

	$data['title'] = "Testing Twig!!";

	$this->twig->display('view.html', $data);

About

A basic CodeIgniter library for using the Twig template language

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%