1
0
Fork 0

Describe how to reference PHP versions and PHP extensions.

pull/4623/head
= 2015-11-22 16:26:10 +01:00
parent f084b1e053
commit 9fd9d34b40
1 changed files with 14 additions and 0 deletions

View File

@ -327,6 +327,20 @@ It is also possible to inline-alias a package constraint so that it matches
a constraint that it otherwise would not. For more information [see the
aliases article](articles/aliases.md).
`require` and `require-dev` also support references to specific PHP versions
and PHP extensions your project needs to run successfully.
```json
Example:
{
"require" : {
"php" : ">=5.3.10",
"ext-mbstring": "*"
}
}
```
#### require
Lists packages required by this package. The package will not be installed