Add documentation on installing via composer
[php-sqllint.git] / README.rst
index 6444362fce691f6280218a9bde7a3990f2f98666..29c0e007367c3c3990a3f4c46db6f36ff318d4e3 100644 (file)
@@ -70,33 +70,32 @@ Then please report a bug at `phpmyadmin/sql-parser`__.
 __ https://github.com/phpmyadmin/sql-parser
 
 
+======================
+Install using composer
+======================
+Run ``composer require cweiske/php-sqllint``, the package is hosted on `packagist <https://packagist.org/packages/cweiske/php-sqllint>`__
+
+
 ========
 Download
 ========
 The download files are equipped with all dependencies.
 Just download and run.
 
-Version 0.1.1, 2016-04-14
-
-- `php-sqllint-0.1.1.bz2.phar <http://cweiske.de/download/php-sqllint/php-sqllint-0.1.1.bz2.phar>`__
+.. LATESTRELEASE
 
-  - 178 kiB
-  - SHA256: ``c1902d79636e112715682260c21980ac51059688b7fb1a8eda4a8ca70226e56b``
-- `php-sqllint-0.1.1.phar <http://cweiske.de/download/php-sqllint/php-sqllint-0.1.1.phar>`__
-
-  - 621 kiB
-  - SHA256: ``2665a0c1cf8997c326a90ebded5a7848a1d60506d98158b391a8e546afa2ca20``
+See `php-sqllint downloads page <http://cweiske.de/php-sqllint-download.htm>`_
+for all released versions.
 
 
 ============
 Dependencies
 ============
 - PEAR's `Console_Commandline`__
-- `udan11's SqlParser`__, which is used by `phpMyAdmin`__
+- `phpMyAdmin's SqlParser`__
 
 __ http://pear.php.net/package/Console_CommandLine
-__ https://github.com/udan11/sql-parser
-__ https://www.phpmyadmin.net/
+__ https://github.com/phpmyadmin/sql-parser
 
 
 Dependency installation