composer require exinfinite/jsonld
$jsonld = new Exinfinite\Jsonld("site name", "site url", "full url of site logo");
$jsonld->setTimezone("timezone");//default:"Asia/Taipei"
$jsonld->breadcrumb([
'page1_url' => 'page1_title',
'page2_url' => 'page2_title',
'page3_url' => 'page3_title',
...
]);
$jsonld->search("full path of search url", "query_param");
$jsonld->article("page title", "page description", ["page thumbnail", "page thumbnail"], "page published date", "page modified date");
$jsonld->render();