PHP code example of ci2lara / codeigniter_migration

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

    

ci2lara / codeigniter_migration example snippets


'providers' => [
   ...
    'Ci2Lara\Codeigniter_Migration\Providers\CodeigniterServiceProvider',
   ...
    ];

'aliases' => [
   ...
    'CodeigniterSession' => 'Ci2Lara\Codeigniter_Migration\Facades\CodeigniterSession',  
   ...
    ];

php artisan vendor:publish

$userdata['ci_config'] = array('version' => '1.0', 'module_xy_enabled' => $this->config->item('modul_xy_enabled'), 'yourconfig' => 'some value');
$CI->session->set_userdata($userdata);