do not run post install cmds on dyno start
give FPM two seconds to start before the web server binds to the port and starts accepting traffic. or else fcgi pipe breakage, potentially
harden ifs and quotes
notices instead of warnings for composer.json and composer.phar
use an alias for local composer.phar
nuke backticks
use NO_DETACH instead of FOREGROUND or else a kill won't bring FPM down too
do not use composer to install the buildpack itself into the app