You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: README.md
+28-7
Original file line number
Diff line number
Diff line change
@@ -3,6 +3,28 @@ Simple PHP diff
3
3
4
4
Find the quick difference between two text files in PHP.
5
5
6
+
Idea
7
+
----
8
+
9
+
The library compares two text files very quickly and returns the object with the differences.
10
+
11
+
The difference has numbered lines for easy display of changes to the user. You can also read an array of changed rows as an integer array from the `Diff` object as you browse for changes.
12
+
13
+
📦 Installation
14
+
---------------
15
+
16
+
It's best to use [Composer](https://getcomposer.org) for installation, and you can also find the package on
17
+
[Packagist](https://packagist.org/packages/baraja-core/simple-php-diff) and
You can use the package manually by creating an instance of the internal classes, or register a DIC extension to link the services directly to the Nette Framework.
27
+
6
28
Example
7
29
-------
8
30
@@ -12,13 +34,6 @@ Diff can be rendered to HTML (with native method `SimpleDiff::renderDiff($diff)`
12
34
13
35

14
36
15
-
Idea
16
-
----
17
-
18
-
The library compares two text files very quickly and returns the object with the differences.
19
-
20
-
The difference has numbered lines for easy display of changes to the user. You can also read an array of changed rows as an integer array from the `Diff` object as you browse for changes.
21
-
22
37
How to use
23
38
----------
24
39
@@ -67,3 +82,9 @@ Comparison mode
67
82
68
83
This tool supports strict and basic comparison modes (strict mode is disabled by default).
69
84
Strict mode also allows you to compare changes in different line wrapping methods (for example, `"\n"` and so on).
85
+
86
+
87
+
📄 License
88
+
-----------
89
+
90
+
`baraja-core/simple-php-diff` is licensed under the MIT license. See the [LICENSE](https://github.com/baraja-core/template/blob/master/LICENSE) file for more details.
0 commit comments