$ composer global require "laravel/homestead=~2.0"
$ homestead init
$ homestead edit
$ homestead up
- Host: localhost
- Name: homestead
- User: homestead
- Pass: secret
Laravel 5.1 requires PHP 5.5.9, so if you do not have that installed, you will need to do the composer install
or composer update
inside a VM (like Homestead) that is running PHP 5.5.9+.
$ composer global require "laravel/installer=~1.1"
$ laravel new <project name>
The following steps are for a fresh install, for a better understanding of this, you can read the Wiki for the project.
$ cd <project name>
$ composer require laraflock/dashboard
$ php artisan dashboard:install