Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/chaclee/ci-blade
Laravel blade template engine for Codeigniter 3.0+!
https://github.com/chaclee/ci-blade
ci-blade
Last synced: 2 months ago
JSON representation
Laravel blade template engine for Codeigniter 3.0+!
- Host: GitHub
- URL: https://github.com/chaclee/ci-blade
- Owner: chaclee
- License: gpl-3.0
- Created: 2016-03-01T06:43:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2018-07-30T09:39:54.000Z (over 6 years ago)
- Last Synced: 2024-05-21T19:15:53.324Z (8 months ago)
- Topics: ci-blade
- Language: PHP
- Size: 568 KB
- Stars: 19
- Watchers: 5
- Forks: 8
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
- awesome - chaclee/ci-blade - Laravel blade template engine for Codeigniter 3.0+! (PHP)
README
# ci-blade
Laravel blade template engine for Codeigniter 3.0+!
---# Require
PHP:>=PHP5.4.*# Use
### 0x0.1 Set cache path:
application/libraries/Blade.php
`$cachePath = APPPATH . 'cache/views'; // view cache directory`### 0x1.1 Simple use
`$this->blade->view('welcome_message');`
### 0x1.2 Pass vars to template
`$this->blade->view('welcome_message', $vars);`
#Laravel Blade Document
https://laravel.com/docs/5.1/blade