Welcome Guest, Not a member yet? Register   Sign In
CodeIgniter Simple and Secure Twig
#6

(10-01-2015, 06:49 AM)iamthwee Wrote: Hi Kenjis,

I'm interested in including Twig the proper way with CI3.0, but I can't seem to get it to work. I am NOT using composer. How may I get this to work?

Why not use Composer?

Without Composer to install Twig is a lot of pain.

First you read the Twig documentation:
http://twig.sensiolabs.org/doc/installation.html

Install tarball release, and you must register Twig Autoloader with spl_autoload_register(): https://github.com/twigphp/Twig/blob/1.x...loader.php

And install my Twig library: https://github.com/kenjis/codeigniter-ss...s/Twig.php

I think you can use Twig if you install it this way, but I have not installed Twig manually like this.
Reply


Messages In This Thread
CodeIgniter Simple and Secure Twig - by kenjis - 05-24-2015, 07:06 PM
RE: CodeIgniter Simple and Secure Twig - by kenjis - 10-01-2015, 07:25 AM



Theme © iAndrew 2016 - Forum software by © MyBB