blade
blade copied to clipboard
View template engine of PHP extracted from Laravel
The Engines/PhpEngine.php uses `Symfony\Component\Debug\Exception\FatalThrowableError´. In effect, this means that xiaoler/blade depends on symfony/debug.
ERROR: Error: Class 'Symfony\Component\Debug\Exception\FatalThrowableError' not found in D:\phpStudy\WWW\teebphp\library\blade\src\Engines\PhpEngine.php:46 Stack trace: #0 D:\phpStudy\WWW\teebphp\library\blade\src\Engines\CompilerEngine.php(60): Xiaoler\Blade\Engines\PhpEngine->evaluatePath('D:\\phpStudy\\WWW...', Array) #1 D:\phpStudy\WWW\teebphp\library\blade\src\View.php(132): Xiaoler\Blade\Engines\CompilerEngine->get('D:\\phpStudy\\WWW...', Array) #2 D:\phpStudy\WWW\teebphp\library\blade\src\View.php(115): Xiaoler\Blade\View->getContents() #3 D:\phpStudy\WWW\teebphp\library\blade\src\View.php(82): Xiaoler\Blade\View->renderContents() #4 D:\phpStudy\WWW\teebphp\library\blade\src\Blade.class.php(51): Xiaoler\Blade\View->render() #5 [internal function]:...
I have array: `$arr = ['title' => 'Tiêu đề']` I use {{}} tag to echo string in array, but it not encode to utf8 `{{$arr['title']}} //=> Tiêu đề`