Change http to https where possible
parent
57b3e24514
commit
58a62dceab
|
@ -14,7 +14,7 @@ manager. It does however support a "global" project for convenience via the
|
||||||
[global](03-cli.md#global) command.
|
[global](03-cli.md#global) command.
|
||||||
|
|
||||||
This idea is not new and Composer is strongly inspired by node's
|
This idea is not new and Composer is strongly inspired by node's
|
||||||
[npm](https://npmjs.org/) and ruby's [bundler](http://bundler.io/).
|
[npm](https://npmjs.org/) and ruby's [bundler](https://bundler.io/).
|
||||||
|
|
||||||
Suppose:
|
Suppose:
|
||||||
|
|
||||||
|
@ -135,7 +135,7 @@ C:\bin>echo @php "%~dp0composer.phar" %*>composer.bat
|
||||||
|
|
||||||
Add the directory to your PATH environment variable if it isn't already.
|
Add the directory to your PATH environment variable if it isn't already.
|
||||||
For information on changing your PATH variable, please see
|
For information on changing your PATH variable, please see
|
||||||
[this article](http://www.computerhope.com/issues/ch000549.htm) and/or
|
[this article](https://www.computerhope.com/issues/ch000549.htm) and/or
|
||||||
use Google.
|
use Google.
|
||||||
|
|
||||||
Close your current terminal. Test usage with a new terminal:
|
Close your current terminal. Test usage with a new terminal:
|
||||||
|
|
|
@ -56,7 +56,7 @@ you to require certain versions of server software. See
|
||||||
### Package Version Constraints
|
### Package Version Constraints
|
||||||
|
|
||||||
In our example, we are requesting the Monolog package with the version constraint
|
In our example, we are requesting the Monolog package with the version constraint
|
||||||
[`1.0.*`](http://semver.mwl.be/#?package=monolog%2Fmonolog&version=1.0.*).
|
[`1.0.*`](https://semver.mwl.be/#?package=monolog%2Fmonolog&version=1.0.*).
|
||||||
This means any version in the `1.0` development branch, or any version that is
|
This means any version in the `1.0` development branch, or any version that is
|
||||||
greater than or equal to 1.0 and less than 1.1 (`>=1.0 <1.1`).
|
greater than or equal to 1.0 and less than 1.1 (`>=1.0 <1.1`).
|
||||||
|
|
||||||
|
|
|
@ -854,7 +854,7 @@ all projects.
|
||||||
|
|
||||||
By default it points to `C:\Users\<user>\AppData\Roaming\Composer` on Windows
|
By default it points to `C:\Users\<user>\AppData\Roaming\Composer` on Windows
|
||||||
and `/Users/<user>/.composer` on OSX. On *nix systems that follow the [XDG Base
|
and `/Users/<user>/.composer` on OSX. On *nix systems that follow the [XDG Base
|
||||||
Directory Specifications](http://standards.freedesktop.org/basedir-spec/basedir-spec-latest.html),
|
Directory Specifications](https://specifications.freedesktop.org/basedir-spec/basedir-spec-latest.html),
|
||||||
it points to `$XDG_CONFIG_HOME/composer`. On other *nix systems, it points to
|
it points to `$XDG_CONFIG_HOME/composer`. On other *nix systems, it points to
|
||||||
`/home/<user>/.composer`.
|
`/home/<user>/.composer`.
|
||||||
|
|
||||||
|
|
|
@ -214,7 +214,7 @@ An example:
|
||||||
{
|
{
|
||||||
"name": "Jordi Boggiano",
|
"name": "Jordi Boggiano",
|
||||||
"email": "j.boggiano@seld.be",
|
"email": "j.boggiano@seld.be",
|
||||||
"homepage": "http://seld.be",
|
"homepage": "https://seld.be",
|
||||||
"role": "Developer"
|
"role": "Developer"
|
||||||
}
|
}
|
||||||
]
|
]
|
||||||
|
@ -768,7 +768,7 @@ Example:
|
||||||
"name": "smarty/smarty",
|
"name": "smarty/smarty",
|
||||||
"version": "3.1.7",
|
"version": "3.1.7",
|
||||||
"dist": {
|
"dist": {
|
||||||
"url": "http://www.smarty.net/files/Smarty-3.1.7.zip",
|
"url": "https://www.smarty.net/files/Smarty-3.1.7.zip",
|
||||||
"type": "zip"
|
"type": "zip"
|
||||||
},
|
},
|
||||||
"source": {
|
"source": {
|
||||||
|
|
|
@ -93,7 +93,7 @@ Here is a minimal package definition:
|
||||||
"name": "smarty/smarty",
|
"name": "smarty/smarty",
|
||||||
"version": "3.1.7",
|
"version": "3.1.7",
|
||||||
"dist": {
|
"dist": {
|
||||||
"url": "http://www.smarty.net/files/Smarty-3.1.7.zip",
|
"url": "https://www.smarty.net/files/Smarty-3.1.7.zip",
|
||||||
"type": "zip"
|
"type": "zip"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -488,7 +488,7 @@ Here is an example for the smarty template engine:
|
||||||
"name": "smarty/smarty",
|
"name": "smarty/smarty",
|
||||||
"version": "3.1.7",
|
"version": "3.1.7",
|
||||||
"dist": {
|
"dist": {
|
||||||
"url": "http://www.smarty.net/files/Smarty-3.1.7.zip",
|
"url": "https://www.smarty.net/files/Smarty-3.1.7.zip",
|
||||||
"type": "zip"
|
"type": "zip"
|
||||||
},
|
},
|
||||||
"source": {
|
"source": {
|
||||||
|
|
|
@ -339,6 +339,6 @@ is set to true.
|
||||||
|
|
||||||
[ssh2 context options]: https://secure.php.net/manual/en/wrappers.ssh2.php#refsect1-wrappers.ssh2-options
|
[ssh2 context options]: https://secure.php.net/manual/en/wrappers.ssh2.php#refsect1-wrappers.ssh2-options
|
||||||
[ssl context options]: https://secure.php.net/manual/en/context.ssl.php
|
[ssl context options]: https://secure.php.net/manual/en/context.ssl.php
|
||||||
[Twig]: http://twig.sensiolabs.org/
|
[Twig]: https://twig.sensiolabs.org/
|
||||||
[config schema]: https://getcomposer.org/doc/04-schema.md#config
|
[config schema]: https://getcomposer.org/doc/04-schema.md#config
|
||||||
[notify-batch]: https://getcomposer.org/doc/05-repositories.md#notify-batch
|
[notify-batch]: https://getcomposer.org/doc/05-repositories.md#notify-batch
|
||||||
|
|
|
@ -282,4 +282,4 @@ local project plugins are loaded.
|
||||||
[7]: ../01-basic-usage.md#package-versions
|
[7]: ../01-basic-usage.md#package-versions
|
||||||
[8]: https://github.com/composer/composer/blob/master/src/Composer/Plugin/Capable.php
|
[8]: https://github.com/composer/composer/blob/master/src/Composer/Plugin/Capable.php
|
||||||
[9]: https://github.com/composer/composer/blob/master/src/Composer/Plugin/Capability/CommandProvider.php
|
[9]: https://github.com/composer/composer/blob/master/src/Composer/Plugin/Capability/CommandProvider.php
|
||||||
[10]: http://symfony.com/doc/current/components/console/introduction.html
|
[10]: https://symfony.com/doc/current/components/console.html
|
||||||
|
|
|
@ -140,7 +140,7 @@ Example: `1.0.*`
|
||||||
The `~` operator is best explained by example: `~1.2` is equivalent to
|
The `~` operator is best explained by example: `~1.2` is equivalent to
|
||||||
`>=1.2 <2.0.0`, while `~1.2.3` is equivalent to `>=1.2.3 <1.3.0`. As you can see
|
`>=1.2 <2.0.0`, while `~1.2.3` is equivalent to `>=1.2.3 <1.3.0`. As you can see
|
||||||
it is mostly useful for projects respecting [semantic
|
it is mostly useful for projects respecting [semantic
|
||||||
versioning](http://semver.org/). A common usage would be to mark the minimum
|
versioning](https://semver.org/). A common usage would be to mark the minimum
|
||||||
minor version you depend on, like `~1.2` (which allows anything up to, but not
|
minor version you depend on, like `~1.2` (which allows anything up to, but not
|
||||||
including, 2.0). Since in theory there should be no backwards compatibility
|
including, 2.0). Since in theory there should be no backwards compatibility
|
||||||
breaks until 2.0, that works well. Another way of looking at it is that using
|
breaks until 2.0, that works well. Another way of looking at it is that using
|
||||||
|
|
|
@ -14,7 +14,7 @@ compatible with the new major version of your dependency.
|
||||||
|
|
||||||
For example instead of using `>=3.4` you should use `~3.4` which allows all
|
For example instead of using `>=3.4` you should use `~3.4` which allows all
|
||||||
versions up to `3.999` but does not include `4.0` and above. The `^` operator
|
versions up to `3.999` but does not include `4.0` and above. The `^` operator
|
||||||
works very well with libraries following [semantic versioning](http://semver.org).
|
works very well with libraries following [semantic versioning](https://semver.org).
|
||||||
|
|
||||||
**Note:** As a package maintainer, you can make the life of your users easier
|
**Note:** As a package maintainer, you can make the life of your users easier
|
||||||
by providing an [alias version](../articles/aliases.md) for your development
|
by providing an [alias version](../articles/aliases.md) for your development
|
||||||
|
|
Loading…
Reference in New Issue