Skip to content

Instantly share code, notes, and snippets.

@iolson
Created August 4, 2015 17:38
Show Gist options
  • Save iolson/9ca15082e8c925c709ae to your computer and use it in GitHub Desktop.
Save iolson/9ca15082e8c925c709ae to your computer and use it in GitHub Desktop.
Get Ramped Up on Laravel

Homestead

$ composer global require "laravel/homestead=~2.0"
$ homestead init
$ homestead edit
$ homestead up

Default Database

  • Host: localhost
  • Name: homestead
  • User: homestead
  • Pass: secret

Laravel

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>

Dashboard

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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment