Run a Slim app locally, install nothing besides nanobox.
# clone the code
git clone https://github.com/nanobox-quickstarts/nanobox-slim.git
# cd into the slim app
cd nanobox-slim
# Add a convenient way to access your app from the browser
nanobox dns add local slim.dev
# Run slim as you would normally, with Nanobox
nanobox run php-server
Visit your app at slim.dev
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 slim is installed,
php -v
# your packages are available,
composer show
# and your code is mounted
ls
For more details about running slim apps with nanobox visit guides.nanobox.io/php/slim/