Skip to content

nanobox-quickstarts/nanobox-laravel

Folders and files

NameName
Last commit message
Last commit date

Latest commit

f703e2a · Apr 5, 2017

History

30 Commits
Nov 18, 2016
Sep 20, 2016
Mar 5, 2017
Nov 18, 2016
Sep 20, 2016
Nov 30, 2016
Nov 18, 2016
Sep 20, 2016
Sep 20, 2016
Sep 20, 2016
Sep 20, 2016
Nov 18, 2016
Sep 20, 2016
Nov 18, 2016
Jan 13, 2017
Sep 20, 2016
Apr 5, 2017
Sep 20, 2016
Nov 30, 2016
Nov 18, 2016
Nov 18, 2016
Sep 20, 2016
Sep 20, 2016
Nov 30, 2016

Repository files navigation

Laravel from scratch

Laravel from scratch

Run a Laravel app locally, install nothing besides nanobox.

Clone the repo

# clone the code
git clone https://github.com/nanobox-quickstarts/nanobox-laravel.git

# cd into the laravel app
cd nanobox-laravel

Run the app

# Add a convenient way to access your app from the browser
nanobox dns add local laravel.dev

# Run laravel as you would normally, with Nanobox
nanobox run php artisan serve --host 0.0.0.0

Check it out

Visit your app at laravel.dev:8000

Explore

With Nanobox, you don't have to have anything installed on your machine to run your app:

# drop into a Nanobox console
nanobox run

# where laravel is installed,
php -v

# your packages are available,
composer show

# and your code is mounted
ls

Now What?

For more details about running laravel apps with nanobox visit guides.nanobox.io/php/laravel/