mirror of
https://github.com/codeguy/php-the-right-way.git
synced 2025-08-18 19:41:15 +02:00
Update PEAR links, let them use https
This commit is contained in:
@@ -18,10 +18,10 @@ version conflicts between two projects arise.
|
|||||||
|
|
||||||
### How to install PEAR
|
### How to install PEAR
|
||||||
|
|
||||||
You can install PEAR by downloading the `.phar` installer and executing it. The PEAR documentation has
|
You can install PEAR by downloading the `.phar` installer and executing it. The PEAR documentation has
|
||||||
detailed [install instructions][2] for every operating system.
|
detailed [install instructions][2] for every operating system.
|
||||||
|
|
||||||
If you are using Linux, you can also have a look at your distribution package manager. Debian and Ubuntu,
|
If you are using Linux, you can also have a look at your distribution package manager. Debian and Ubuntu,
|
||||||
for example, have an apt `php-pear` package.
|
for example, have an apt `php-pear` package.
|
||||||
|
|
||||||
### How to install a package
|
### How to install a package
|
||||||
@@ -47,7 +47,7 @@ handle your PEAR dependencies. This example will install code from `pear2.php.ne
|
|||||||
"repositories": [
|
"repositories": [
|
||||||
{
|
{
|
||||||
"type": "pear",
|
"type": "pear",
|
||||||
"url": "http://pear2.php.net"
|
"url": "https://pear2.php.net"
|
||||||
}
|
}
|
||||||
],
|
],
|
||||||
"require": {
|
"require": {
|
||||||
@@ -80,9 +80,9 @@ $request = new pear2\HTTP\Request();
|
|||||||
* [Learn more about using PEAR with Composer][6]
|
* [Learn more about using PEAR with Composer][6]
|
||||||
|
|
||||||
|
|
||||||
[1]: http://pear.php.net/
|
[1]: https://pear.php.net/
|
||||||
[2]: http://pear.php.net/manual/en/installation.getting.php
|
[2]: https://pear.php.net/manual/installation.getting.php
|
||||||
[3]: http://pear.php.net/packages.php
|
[3]: https://pear.php.net/packages.php
|
||||||
[4]: http://pear.php.net/manual/en/guide.users.commandline.channels.php
|
[4]: https://pear.php.net/manual/guide.users.commandline.channels.php
|
||||||
[5]: /#composer_and_packagist
|
[5]: /#composer_and_packagist
|
||||||
[6]: http://getcomposer.org/doc/05-repositories.md#pear
|
[6]: https://getcomposer.org/doc/05-repositories.md#pear
|
||||||
|
Reference in New Issue
Block a user