Do GitHub pages support PHP?
Github pages currently do not support PHP as it only supports static website.
However, if you want to display some dynamic content on your website, you can simply use iframe to display that content, but again it has to be hosted somewhere else.
Here is something that might be helpful to you: Guide to use Github Pages
A static site cannot by definition support PHP.
Static websites serve content directly from the web-server’s file-system exactly as stored.
Dynamic websites generate content live per each request. The request is delegated to a running web-application that builds the content.
What is a Static Website
You might be interested in PieCrust. It is a static site generator.