Skip to content

Instantly share code, notes, and snippets.

@huenisys
Last active August 20, 2017 06:19
Show Gist options
  • Save huenisys/cb46964b251d1a7fce6c16a3b71b32e6 to your computer and use it in GitHub Desktop.
Save huenisys/cb46964b251d1a7fce6c16a3b71b32e6 to your computer and use it in GitHub Desktop.
Laravel 5.5 setup

Base

  • $ laravel new laravel55 --dev
  • $ composer require laravel/homestead --dev # this gives per project homestead
  • $ vendor\bin\homestead make # will create vagrant file
  • $ vagrant up

Dusk

  • $ composer require laravel/dusk --dev
  • add dusk provider in config using app service provider wrapped to run locally only
  • $ php artisan dusk:install
  • make sure app url is right as the child browser will use it
  • cp vendor/laravel/dusk/stubs/phpunit.xml phpunit.dusk.xml #bug: laravel/dusk#316
  • requires changing bootstrap/autoload to vendor/autoload.php
  • $ php artisan dusk
  • you may use per env dusk config, i.e. .env.dusk.{env}

Auth

Mix

Package Development

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment