1
0
Fork 0

[docs] move docs on disabling packagist to repositories chapter, fixes #362

pull/402/head
Igor Wiedler 2012-03-07 00:16:24 +01:00
parent eafd28b083
commit 4da3d1fac0
2 changed files with 13 additions and 11 deletions

View File

@ -288,17 +288,6 @@ Example:
precedence. This also means that custom repositories can override packages precedence. This also means that custom repositories can override packages
that exist on packagist. that exist on packagist.
You can also disable the packagist repository by setting `packagist` to
`false`.
{
"repositories": [
{
"packagist": false
}
]
}
## config ## config
A set of configuration options. It is only used for projects. A set of configuration options. It is only used for projects.

View File

@ -249,3 +249,16 @@ package repository definitions. It will fetch all the packages that are
Check [the satis GitHub repository](https://github.com/composer/satis) for more Check [the satis GitHub repository](https://github.com/composer/satis) for more
information. information.
## Disabling packagist
You can disable the default packagist repository by adding this to your
`composer.json`:
{
"repositories": [
{
"packagist": false
}
]
}