Skip to content
This repository has been archived by the owner on Dec 22, 2022. It is now read-only.

teramuza/ci3blade

Repository files navigation

Codeigniter with Blade

Getting Started

Default Setting

APPPATH = /application

SYSTEMPATH = /vendor/codeigniter

VIEWPATH = /resource/views

CACHEPATH = /application/cache

Index path = /public/index.php

How to use

public function index(){

	//load view
	return view('filename'); //without extention .blade.php

	//load view with array data
	$data = array();
	return view('filename', $data);
}

How to install

Stable Version (CI 3.1.9) Download here

Or unstable version (CI 3.2.0-dev) with git clone:

git clone https://github.com/teukuraja/ci3blade.git

How to fix?

  • Cache Folder Permission Denied
sudo chown $USER:www-data application/cache
sudo chmod 775 application/cache
  • Rewrite Module Disabled
sudo a2enmod rewrite
sudo service apache2 restart

Built With

Version

  • CI Version : 3.2.0-dev
  • Blade Version 1.1.0
  • PHP Version : ^5.6