If you compare it to things called web frameworks in other languages, PHP is a language and a web framework (or, if you like, which provides a highly integrated default framework).
Using PHP on Heroku has never been straightforward. They don't even mention PHP in this post, and the instructions you've given are fairly undiscoverable. Ignorance of the possibility of running PHP on Heroku is more than excusable.
Also, PHP is not a web framework, it's a language.