thanhtaivtt/ci-core

The CodeIgniter framework and blade template

3.0.3 2018-04-18 01:49 UTC

This package is auto-updated.

Last update: 2020-08-25 11:44:36 UTC


README

Latest Stable VersionTotal DownloadsLatest Unstable VersionLicenseMonthly DownloadsDaily Downloadscomposer.lock

Codeiginter-core

-Codeiginter Blade is composition codeiginter framework, composer and blade templade.

installation

  • In application/config/config.php

fix lines:

$config['composer_autoload'] = FALSE;
//replace to
$config['composer_autoload'] = FCPATH.'vendor/autoload.php';
  • In index.php

fix lines:

$system_path = 'system';
//replace to
$system_path = 'vendor/thanhtaivtt/ci-core/src/system';

Usage

  • In controllers use;
//load view
$this->view('viewName',[data]);

//get input get
$this->get($name);

//get input post
$this->post($name);

Tutorial