Fix composer require syntax in readme

According to https://getcomposer.org/doc/03-cli.md#require
This commit is contained in:
henk23 2018-05-10 15:51:30 +02:00 committed by GitHub
parent 78eb98311f
commit cc6131a329
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -27,14 +27,14 @@ AES, Blowfish, Twofish, SSH-1, SSH-2, SFTP, and X.509
* Modernized version of 1.0 * Modernized version of 1.0
* Minimum PHP version: 5.3.3 * Minimum PHP version: 5.3.3
* PSR-4 autoloading with namespace rooted at `\phpseclib` * PSR-4 autoloading with namespace rooted at `\phpseclib`
* Install via Composer: `composer require phpseclib/phpseclib ~2.0` * Install via Composer: `composer require phpseclib/phpseclib:~2.0`
### 1.0 ### 1.0
* Long term support (LTS) release * Long term support (LTS) release
* PHP4 compatible * PHP4 compatible
* Composer compatible (PSR-0 autoloading) * Composer compatible (PSR-0 autoloading)
* Install using Composer: `composer require phpseclib/phpseclib ~1.0` * Install using Composer: `composer require phpseclib/phpseclib:~1.0`
* Install using PEAR: See [phpseclib PEAR Channel Documentation](http://phpseclib.sourceforge.net/pear.htm) * Install using PEAR: See [phpseclib PEAR Channel Documentation](http://phpseclib.sourceforge.net/pear.htm)
* [Download 1.0.11 as ZIP](http://sourceforge.net/projects/phpseclib/files/phpseclib1.0.11.zip/download) * [Download 1.0.11 as ZIP](http://sourceforge.net/projects/phpseclib/files/phpseclib1.0.11.zip/download)