Skip to content

nanobox-quickstarts/nanobox-symfony

Repository files navigation

Symfony from scratch

Symfony from scratch

Run a Symfony app locally, install nothing besides Nanobox.

Clone the repo

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

# cd into the Symfony app
cd nanobox-symfony

Run the app

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

# Run Symfony as you would normally, with Nanobox
nanobox run php bin/console server:run 0.0.0.0

Check it out

Visit your app at symfony.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 Symfony is installed,
php -v

# your packages are available,
composer show

# and your code is mounted
ls

Now What?

For more details about running Symfony apps with Nanobox visit guides.nanobox.io/php/symfony/