Book Image

Laravel 5 Essentials

By : Martin Bean
Book Image

Laravel 5 Essentials

By: Martin Bean

Overview of this book

Table of Contents (15 chapters)
Laravel 5 Essentials
About the Author
About the Reviewers

Creating a new Laravel application

With Homestead set up, you now have a development environment to build Laravel applications that can easily be removed at a later date without disturbing your machine. You must be itching to get started with Laravel, so here we go!

In the next chapter, we will go through building a simple application in Laravel from start to finish. So now, we will prepare this project in Homestead:

  1. First, check whether Homestead is running by using the following command:

    > $ homestead status
  2. If the status is anything other than running, bring it up with the homestead reload command. We now need to add our site. It will be a browsable database of cat profiles, so let's call it "Furbook" and give it the fictional domain name of

  3. We can set this up in Homestead by editing the configuration file and adding the following mappings:

        - map:
          to: /home/vagrant/Code/
        - furbook
  4. Run $ homestead reload, which...