Skip to content

6.3.0

Compare
Choose a tag to compare
@jfcherng jfcherng released this 05 Jan 08:23
· 290 commits to v6 since this release
f51ed1c
  • Allow rendering HTML result with the JSON result. (#17)
// use the JSON result to render in HTML
$jsonResult = DiffHelper::calculate($old, $new, 'Json'); // may store the JSON result in your Database
$htmlRenderer = RendererFactory::make('Inline');
$result = $htmlRenderer->renderArray(json_decode($jsonResult, true));