NOTE: I couldn't find any working fork with the php buildpack. This one is working for me :)
Allows you to have a monolithic repo with multiple Heroku apps in different subdirectories (like Google!).
heroku buildpacks:set -a <app> https://github.com/magnetik/heroku-buildpack-subdir
<subdir>and a buildpack by setting
heroku config:add BUILDPACK='<subdir>=https://github.com/desired/heroku-buildpack' -a <app>
git push firstname.lastname@example.org:<app> master
This buildpack assumes each subdirectory added above has a Procfile in it. It will
.profile.d/directory by the buildpack from 1.
This means each Procfile must contain something like
web: cd <subdir> && npm start
Copy the snippet above into CLI.