PHP code example of fc / ntcode

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

    

fc / ntcode example snippets




//.........

use fc\ntcode\Ntcode as LLLntcode;


class TestController extends BaseController
{
    
    
    
    public function index(){

        $aTpl = array();
        
        $aTpl['TPL'] = array();
        
        
        return View::make("test" , $aTpl );
    }
    
    
    public function make(){
        echo LLLntcode::make();
    }
    
    public function check(){
        echo LLLntcode::check();
        exit();
    }
    
}