11# php-diff
22
3- [ ![ GitHub Workflow Status (branch)] ( https://img.shields.io/github/actions/workflow/status/jfcherng/php-diff/php.yml?branch=v6 &style=flat-square )] ( https://github.com/jfcherng/php-diff/actions )
4- [ ![ Codacy grade] ( https://img.shields.io/codacy/grade/5b7ab5ed613d48b99f12cd334f6489ff/v6 ?style=flat-square )] ( https://app.codacy.com/project/jfcherng/php-diff/dashboard )
3+ [ ![ GitHub Workflow Status (branch)] ( https://img.shields.io/github/actions/workflow/status/jfcherng/php-diff/php.yml?branch=v7 &style=flat-square )] ( https://github.com/jfcherng/php-diff/actions )
4+ [ ![ Codacy grade] ( https://img.shields.io/codacy/grade/5b7ab5ed613d48b99f12cd334f6489ff/v7 ?style=flat-square )] ( https://app.codacy.com/project/jfcherng/php-diff/dashboard )
55[ ![ Packagist] ( https://img.shields.io/packagist/dt/jfcherng/php-diff?style=flat-square )] ( https://packagist.org/packages/jfcherng/php-diff )
66[ ![ Packagist Version] ( https://img.shields.io/packagist/v/jfcherng/php-diff?style=flat-square )] ( https://packagist.org/packages/jfcherng/php-diff )
7- [ ![ Project license] ( https://img.shields.io/github/license/jfcherng/php-diff?style=flat-square )] ( https://github.com/jfcherng/php-diff/blob/v6 /LICENSE )
7+ [ ![ Project license] ( https://img.shields.io/github/license/jfcherng/php-diff?style=flat-square )] ( https://github.com/jfcherng/php-diff/blob/v7 /LICENSE )
88[ ![ GitHub stars] ( https://img.shields.io/github/stars/jfcherng/php-diff?style=flat-square&logo=github )] ( https://github.com/jfcherng/php-diff/stargazers )
99[ ![ Donate to this project using Paypal] ( https://img.shields.io/badge/paypal-donate-blue.svg?style=flat-square&logo=paypal )] ( https://www.paypal.me/jfcherng/5usd )
1010
@@ -48,7 +48,7 @@ composer require jfcherng/php-diff
4848
4949## Example
5050
51- See files and readme in the [ example/] ( https://github.com/jfcherng/php-diff/blob/v6 /example ) directory.
51+ See files and readme in the [ example/] ( https://github.com/jfcherng/php-diff/blob/v7 /example ) directory.
5252
5353``` php
5454<?php
@@ -158,16 +158,16 @@ $result = $htmlRenderer->renderArray(json_decode($jsonResult, true));
158158 <th>Line-level (Default)</th>
159159 </tr >
160160 <tr >
161- <td><img src="https://raw.githubusercontent.com/jfcherng/php-diff/v6 /example/images/inline-none-level-diff.png"></td>
162- <td><img src="https://raw.githubusercontent.com/jfcherng/php-diff/v6 /example/images/inline-line-level-diff.png"></td>
161+ <td><img src="https://raw.githubusercontent.com/jfcherng/php-diff/v7 /example/images/inline-none-level-diff.png"></td>
162+ <td><img src="https://raw.githubusercontent.com/jfcherng/php-diff/v7 /example/images/inline-line-level-diff.png"></td>
163163 </tr >
164164 <tr >
165165 <th>Word-level</th>
166166 <th>Char-level</th>
167167 </tr >
168168 <tr >
169- <td><img src="https://raw.githubusercontent.com/jfcherng/php-diff/v6 /example/images/inline-word-level-diff.png"></td>
170- <td><img src="https://raw.githubusercontent.com/jfcherng/php-diff/v6 /example/images/inline-char-level-diff.png"></td>
169+ <td><img src="https://raw.githubusercontent.com/jfcherng/php-diff/v7 /example/images/inline-word-level-diff.png"></td>
170+ <td><img src="https://raw.githubusercontent.com/jfcherng/php-diff/v7 /example/images/inline-char-level-diff.png"></td>
171171 </tr >
172172</table >
173173
@@ -177,15 +177,15 @@ $result = $htmlRenderer->renderArray(json_decode($jsonResult, true));
177177<?php $rendererOptions = ['detailLevel' => 'line'];
178178```
179179
180- ![ Inline] ( https://raw.githubusercontent.com/jfcherng/php-diff/v6 /example/images/inline-renderer.png )
180+ ![ Inline] ( https://raw.githubusercontent.com/jfcherng/php-diff/v7 /example/images/inline-renderer.png )
181181
182182### Renderer: Side By Side
183183
184184``` php
185185<?php $rendererOptions = ['detailLevel' => 'line'];
186186```
187187
188- ![ Side By Side] ( https://raw.githubusercontent.com/jfcherng/php-diff/v6 /example/images/side-by-side-renderer.png )
188+ ![ Side By Side] ( https://raw.githubusercontent.com/jfcherng/php-diff/v7 /example/images/side-by-side-renderer.png )
189189
190190### Renderer: Combined
191191
@@ -195,7 +195,7 @@ $result = $htmlRenderer->renderArray(json_decode($jsonResult, true));
195195
196196This renderer is suitable for articles and always has no line number information.
197197
198- ![ Combined] ( https://raw.githubusercontent.com/jfcherng/php-diff/v6 /example/images/combined-renderer-word-level.png )
198+ ![ Combined] ( https://raw.githubusercontent.com/jfcherng/php-diff/v7 /example/images/combined-renderer-word-level.png )
199199
200200### Renderer: Unified
201201
0 commit comments