Sign In Start Free Trial
Account

Add to playlist

Create a Playlist

Modal Close icon
You need to login to use this feature.
  • Book Overview & Buying Laravel 5 Essentials
  • Table Of Contents Toc
  • Feedback & Rating feedback
Laravel 5 Essentials

Laravel 5 Essentials

By : Martin Bean
3.7 (13)
close
close
Laravel 5 Essentials

Laravel 5 Essentials

3.7 (13)
By: Martin Bean

Overview of this book

This book is intended for PHP web developers who have an interest in Laravel and who know the basics of the framework in theory, but don't really know how to use it in practice. No experience of using frameworks is required, but it is assumed you are at least familiar with building dynamic websites in PHP already.
Table of Contents (10 chapters)
close
close
9
Index

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 furbook.com.
  3. We can set this up in Homestead by editing the configuration file and adding the following mappings:
    sites:
        - map: dev.furbook.com
          to: /home/vagrant/Code/furbook.com/public
    databases:
        - furbook
  4. Run $ homestead...
Visually different images
CONTINUE READING
83
Tech Concepts
36
Programming languages
73
Tech Tools
Icon Unlimited access to the largest independent learning library in tech of over 8,000 expert-authored tech books and videos.
Icon Innovative learning tools, including AI book assistants, code context explainers, and text-to-speech.
Icon 50+ new titles added per month and exclusive early access to books as they are being written.
Laravel 5 Essentials
notes
bookmark Notes and Bookmarks search Search in title playlist Add to playlist download Download options font-size Font size

Change the font size

margin-width Margin width

Change margin width

day-mode Day/Sepia/Night Modes

Change background colour

Close icon Search
Country selected

Close icon Your notes and bookmarks

Confirmation

Modal Close icon
claim successful

Buy this book with your credits?

Modal Close icon
Are you sure you want to buy this book with one of your credits?
Close
YES, BUY

Submit Your Feedback

Modal Close icon
Modal Close icon
Modal Close icon