Can i use Blade templates instead of Twig in Pyro CMS?
Created 6 years 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  —  6 years 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  —  6 years 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.