Chapter 3. Your First Application

Having learned about Laravel's conventions, working with dependencies using Composer, and setting up a development environment with Homestead, you are now ready to build your first application!

In this chapter, you will use the concepts presented in the previous two chapters in a practical way and learn how to do the following:

  • Plan the URLs and entities of your application
  • Troubleshoot common issues when getting started
  • Define routes and their actions, as well as models and their relationships
  • Prepare your database and learn how to interact with it using Eloquent
  • Use the Blade template language to create hierarchical layouts

The first step in creating a web application is to identify and define its requirements. Then, ...

Get Laravel 5 Essentials now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.