Bootstrap Studio has become such a time saver, but I am having issues including PHP. I rely on PHP includes to manage dynamic elements like headers and footers while also allowing each page to have SEO-friendly content (custom meta tags and titles).
Currently, I have to export the project, manually convert the static HTML into PHP, and reapply includes every time I update the design. This can be quite tedious, so it would be amazing if Bootstrap Studio could support PHP. This would also help with compatibility when I bring such files back into Bootstrap Studio to make changes.
I can send you a PowerShell application I made with a GUI that converts your .html files into PHP.
I often use PHP to add the copyright year to my sites, so I add the PHP in the Custom Code block, then once it’s converted to PHP it works on my hosting.
I created a new post for the PowerShell script, I am sorry for not posting it sooner - but I wanted to improve the UI and make it more accessible by converting it to a .exe application.
or more like as view layer on MVC pattern framework(laravel, codeignigter or symfony)?
if you want for 1), then extending bss with export script(eg. Powershell), is the quickest way…
if 2) however, using library (eg. chokidar) that watches directory will perform better(no script call each time you export), you can also combine them with dom parser library(domino) for better output control…