PHP code example of layershifter / cakephp-twig-view

1. Go to this page and download the library: Download layershifter/cakephp-twig-view library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

layershifter / cakephp-twig-view example snippets


class AppController extends Controller {
    public $view = 'Twig.Twig'; // use twig
}
app_controller.php