PHP code example of tigo / curriculum

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

    

tigo / curriculum example snippets


  /*const DATABASE = "mysql:"; 
    const HOST = "host=localhost;";
    const DBNAME = "dbname=name";
    const USER = "";
    const PASS = "";*/
    
    const DATABASE = "sqlite:".__DIR__."../../database.db"; 
    const HOST = "";
    const DBNAME = "";
    const USER = null;
    const PASS = null;
 

  

  use Tigo\Curriculum\Job\Curriculum; // import class
  
  $table = new Curriculum();
  $table->sqlite(); //migrate sqlite tables
  $table->mysql(); //migrate mysql tables