Skip to content

Commit 6294113

Browse files
authored
Merge pull request composer#6477 from joking777/patch-2
Example of disabling packagist.org globally
2 parents 9aadbe2 + e7d2682 commit 6294113

File tree

1 file changed

+6
-0
lines changed

1 file changed

+6
-0
lines changed

doc/05-repositories.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -655,4 +655,10 @@ You can disable the default Packagist.org repository by adding this to your
655655
}
656656
```
657657

658+
You can disable Packagist.org globally by using the global config flag:
659+
660+
```
661+
composer confg -g repo.packagist false
662+
```
663+
658664
← [Schema](04-schema.md) | [Config](06-config.md) →

0 commit comments

Comments
 (0)