

When using Blade, you may echo data by surrounding it with double curly braces. You may be wondering where to find our echo statements. Pop open the app/routes.php file and add the following route to the bottom of the stop In Laravel, the simplest route is a route to a Closure. To get started, let's create our first route. Check out the Homestead documentation to get started. VirtualBox and Vagrant, which are Homestead's two dependencies, both include simple, graphical installers for all popular operating systems. Here is a list of some of the goodies included with Homestead:ĭon't worry, even though "virtualized" sounds complicated, it's painless. Since the Homestead Vagrant box is pre-packaged with all of the software you need to build robust PHP applications, you can create a virtualized, isolated development environment in seconds. Homestead is a simple virtual machine designed for Laravel and Vagrant. Instead, consider using Laravel Homestead. Installing the proper version of PHP, required extensions, and other needed components is time consuming and confusing. In the past, configuring a local PHP development environment on your machine was a headache. You may also wish to explore the app/config directory and the configuration options that are available to you. Most of your application's code will reside somewhere in this directory. The app directory contains folders such as views, controllers, and models. After installing the framework, take a glance around the project to familiarize yourself with the directory structure.
