PHP code example of webtigers / tiger-core

1. Go to this page and download the library: Download webtigers/tiger-core 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/ */

    

webtigers / tiger-core example snippets


// ADD, not SET — setControllerDirectory() wipes the whole module map first.
$front->addControllerDirectory(TIGER_CORE_PATH . '/core/controllers', 'default');
$front->addModuleDirectory(TIGER_CORE_PATH . '/modules');
$view->addScriptPath(TIGER_CORE_PATH . '/core/views/scripts');
// + symlink: public/_theme -> vendor/webtigers/tiger-core/themes/<active>/assets