The difference between the blade and the twig

I would like to know the difference between Blade and Twig templates.

What are the advantages of using one over the other?

+4
source share
1 answer
Pixel Syntax

is native to laravel, if you want to use Twig, you need to install packages for it ( http://ilikekillnerds.com/2014/08/replacing-blade-with-twig-templating-in-laravel/ ).

you can find the difference from this link https://laracasts.com/forum/?p=536-twig-over-blade/0

October CMS is built on top of laravel, it uses Twig, and that's why they use a branch instead of Blade.

. Twig - , . Twig.js, .

Twig Blade, , Twig, . , , .

https://octobercms.com/forum/post/why-twig

+5

All Articles