PHP support is a complex feature that is best left for IDEs. But we came up with an interesting idea in another thread. We can create an option in the upcoming Export dialog, which will enable you to rename all your pages when they are exported. Do you think this will make your work easier?
I have a js function for contact forms. I have some hidden inputs as params like success, incomplete and error message, from and to …etc. So everything is in html or js. But I have the PHP file where the email is send. It would be nice to add the php file (not edit) in a folder so it export all together instead of adding it after export everytime. Just place it in the project.
Custom component is a suitable thing for some PHP code, but I think it would be good, if we can place the custom code anywhere inside the HTML without the DIV tag. So, we could create dynamic pages, looping HTML elements with PHP.
This modification would be simple for the developers and effective for us to use server side codes.