Can i use Blade templates instead of Twig in Pyro CMS?

srinivas214 - 1 month ago

Hi, Can any one help me out to provide information on whether can we use blade templates in Pyro CMS and call through View() in controller functions?

william - 4 weeks ago

Yes you can use blade instead of twig. But i haven't tried myself. I guess you just name name xxx.blade.php and they will be picked up.

ryanthompson - 4 weeks ago

That's exactly right - in theory I think they should work as overrides too but I have never tried it. Also Twig functions won't be available so you'd have to use the PHP classes directly.