28 March 2018
Laravel is a free, open-source PHP web framework, created by Taylor Otwell and intended for the development of web applications following the model–view–controller architectural pattern.
Laravel 5.5 shipped a couple of convenient shortcuts to the Laravel
Router class that eliminates the need for creating a controller or closure only to return a simple view or redirect.
Route::view method eliminates the need for routes that only need a view returned. Instead of using a controller or a closure, you can define a URI.