Skip to content

Releases: indgy/blates

Added Blade syntax support

03 Jul 15:33
7116627
Compare
Choose a tag to compare

This is a minor fork of PlatesPHP, it does change the main rendering loop to use eval() and is not optimal at the moment.

Not all Blade features are supported but the goal is to be able to produce quicker (for the dev) cleaner looking templates.

It would be better to update the main loop to check for a cached template first before loading the plain plates template.

Then de-blade the template and store it in the cache.

This way the render loop can remain unaltered and continue to use include()