Publii is dedicated for static websites so it do not support PHP files at all for the generated content. The only way to integrate some PHP file is using file manager and put there some php files if you really need them.
--
Do you appreciate the support you've received today? If so, consider donating to the Publii team by clicking here; we'll be sure to use your donation to make Publii even better!