Roots Discourse

Create PHP page

How do I create a PHP page that takes PHP code without an add-on?

I’m not sure what you’re asking here, but this doesn’t seem like it’s related to Sage or the Roots stack. We try to keep this forum focused on the software we make rather than on general WordPress questions.

I would like to a create PHP page with the .php extension so that I can run PHP code on that page.

You can use php in blade templates:

Unlike some PHP templating engines, Blade does not restrict you from using plain PHP code in your templates.

Thank you for the quick response and the link. I will look through it. Thanks again,