I am going to use the blade templating engine with CodeIgniter PHP framework.
Introduction to Blade Templating Engine
Blade is the simple, yet powerful templating engine provided with Laravel. Unlike other popular PHP templating engines, Blade does not restrict you from using plain PHP code in your views. In fact, all Blade views are compiled into plain PHP code and cached until they are modified, meaning Blade adds essentially zero overhead to your application.
To read more please refer to the following link — click here
Introduction to Codeigniter
CodeIgniter is a powerful PHP framework with a very small footprint, built for developers who need a simple and elegant toolkit to create full-featured web applications.
Read more about Codeigniter — click here
Introduction to Bootstrap
Read more about bootstrap — click here
- Clone this repository to your local server by “git clone https://github.com/harendra21/ciblade.git“.
- Hit the url by browser “http://localhost/ciblade“.
.htaccess file to remove the index.php form urls
My_Controller.php in application/core
Welcome.php in application/controllers
Now create your views with view_name.blade.php