如何用 Laravel 的 template engine 渲染字符串?
$html = "{{ $var }}...";
$data = array("var" => "name");
// 有没有类似方法View::XX($html, $data);来获取渲染之后的数据?
推荐文章: