Milos Bejda - All Things Automated

30 Second Introduction to Laravel 5

This tutorial will get you up and running with Laravel 5 under 30 seconds. I will cover Laravel 5 installation along with adding controllers and views to your project. This tutorial was made to be simple and straight forward. If you get lost at any step of the way the entire project source code can be found in my repo https://github.com/mbejda/30-second-Introduction-to-Laravel-5.Lets get started.

Creating A Controller

We need a controller to serve our new view. Navigate to app/Http/Controllers and create a new controller file. I named my controller file helloController.php. Then add the following php code to the file. If you want to learn more about how controllers work, I suggest taking a peek at the Larvel 5 documentation on controllers.