@@ -57,13 +57,14 @@ accomplish sophisticated XML and HTML processing using QueryPath.
5757
5858## QueryPath Installers
5959
60- The following packages of QueryPath are available:
60+ The preferred method of installing QueryPath is via [ Composer ] ( http://getcomposer.org ) .
6161
62- * A PEAR package (` pear install querypath/QueryPath ` ): Installs the library and documentation.
63- * A download from the [ GitHub Tags page] ( https://github.com/technosophos/querypath/tags ) .
64- * Via [ Composer] ( http://getcomposer.org )
62+ You can also download the package from GitHub.
6563
66- ### Composer
64+ Older versions of QueryPath 2.x are still available from the PEAR repository.
65+
66+
67+ ### Composer (Preferred)
6768
6869To add QueryPath as a library in your project, add this to the 'require'
6970section of your ` composer.json ` :
@@ -80,7 +81,9 @@ The run `php composer.phar install` in that directory.
8081
8182### Pear
8283
83- To install QueryPath as a server-wide library, you may wish to use
84+ _ This is not supported any longer._
85+
86+ To install QueryPath 2.x as a server-wide library, you may wish to use
8487PEAR or Pyrus. See [ pear.querypath.org] ( http://pear.querypath.org )
8588for more information, or simply run these commands:
8689
@@ -120,11 +123,11 @@ From the download or git clone:
120123
121124``` php
122125<?php
123- require 'QueryPath/src/QueryPath/ qp.php';
126+ require 'QueryPath/src/qp.php';
124127?>
125128```
126129
127- With the Phar archive, you can include QueryPath like this:
130+ QueryPath can also be compiled into a Phar and then included like this:
128131
129132``` php
130133<?php
0 commit comments