/laravel-vm

Laravel Vagrant Virtualbox machine

Primary LanguageShellMIT LicenseMIT

Vagrant+PHP7

Laravel Vagrant machine

  • Ubuntu 16.04
  • Nginx (latest)
  • PHP (7.2.x)
  • Composer (latest)
  • NodeJs (8.x)
  • Npm (latest)
  • MySQL (latest)
  • Htop
  • Mc

Install

  1. Install VirtualBox and Vagrant
  2. Clone project
  3. (optional) Run on host machine:
  4. Go to directory with README file (cd laravel-vm)
  5. Run vagrant up

Development

  1. Go to laravel-vm/www/
  2. Make directory/public/index.php
  3. Open url http://directory.test/
  4. Enjoy 😎

Domains

  • domain.test
    • ./www/domain/public/index.php
  • developer.test
    • ./www/developer/public/index.php

Subdomain

  • sub.domain.test
    • ./www/domain/sub/www/index.php
  • sub.developer.test
    • ./www/developer/sub/www/index.php

MySQL

  • login: root
  • password: root

Why .test?

Read more at Laravel news