Can i use Blade templates instead of Twig in Pyro CMS?
Created 1 year ago by srinivas214

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  —  1 year 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  —  1 year 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.