Using PHP within a page

I am trying to create a Dribbble feed on my site but it requires PHP in order to work is there anyway I can include this with in a template file?

Right now it is just throwing a bunch of errors.

There isn’t a way for the preview server to run PHP, but Middleman will happily build php files which can then be served normally by Apache.

Thanks for letting me know. Not to worry however I found a way to do it with JS.