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
+13-13Lines changed: 13 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,32 +4,32 @@ Diff implementation for PHP, factored out of PHPUnit into a stand-alone componen
4
4
5
5
## Installation
6
6
7
-
You can use the [PEAR Installer](http://pear.php.net/manual/en/guide.users.commandline.cli.php) or [Composer](http://getcomposer.org/) to download and install this package as well as its dependencies.
8
-
9
-
### PEAR Installer
10
-
11
-
The following two commands (which you may have to run as `root`) are all that is required to install this package using the PEAR Installer:
12
-
13
-
pear config-set auto_discover 1
14
-
pear install pear.phpunit.de/Diff
7
+
You can use [Composer](http://getcomposer.org/) or the [PEAR Installer](http://pear.php.net/manual/en/guide.users.commandline.cli.php) to download and install this package as well as its dependencies.
15
8
16
9
### Composer
17
10
18
-
To add this package as a local, per-project dependency to your project, simply add a dependency on `sebastian/diff` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on Diff 1.0:
11
+
To add this package as a local, per-project dependency to your project, simply add a dependency on `sebastian/diff` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on Diff:
19
12
20
13
{
21
14
"require": {
22
-
"sebastian/diff": "1.0.*"
15
+
"sebastian/diff": "*"
23
16
}
24
17
}
25
18
19
+
### PEAR Installer
20
+
21
+
The following two commands (which you may have to run as `root`) are all that is required to install this package using the PEAR Installer:
0 commit comments