• 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
CodeIgniter Simple and Secure Twig

(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:

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.
Do you want to write tests for your apps? Our book, CodeIgniter Testing Guide would help you.

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

Digg   Delicious   Reddit   Facebook   Twitter   StumbleUpon  

  Theme © 2014 iAndrew  
Powered By MyBB, © 2002-2020 MyBB Group.