// create view file resources/views/welcome.blade.phpWelcome Welcome to Laravel
// use the view in the controller method public function welcome() { return view('welcome'); }
// create view file application/views/welcome.phpIn this example, a View called "welcome" is created using the standard PHP syntax. It is stored in the "application/views" directory. The View is then loaded by the "welcome" controller method using the "load->view" function. The package library used for these examples are Laravel for the first example and CodeIgniter for the second example.Welcome Welcome to CodeIgniter
// use the view in the controller method public function welcome() { $this->load->view('welcome'); }