Skip to content

Commit

Permalink
Fix docs for issue composer/satis#656 (composer#11005)
Browse files Browse the repository at this point in the history
  • Loading branch information
ralflang authored and emahorvat52 committed Jan 18, 2023
1 parent f34ca4a commit 44e08be
Showing 1 changed file with 5 additions and 3 deletions.
8 changes: 5 additions & 3 deletions doc/articles/handling-private-packages.md
Original file line number Diff line number Diff line change
Expand Up @@ -34,9 +34,11 @@ packages, or your own. You can get it from

For example let's assume you have a few packages you want to reuse across your
company but don't really want to open-source. You would first define a Satis
configuration: a json file with an arbitrary name that lists your curated
configuration: a json file that lists your curated
[repositories](../05-repositories.md).

The default file name is satis.json but it could be anything you like.

Here is an example configuration, you see that it holds a few VCS repositories,
but those could be any types of [repositories](../05-repositories.md). Then it
uses `"require-all": true` which selects all versions of all packages in the
Expand All @@ -46,7 +48,7 @@ The default file Satis looks for is `satis.json` in the root of the repository.

```json
{
"name": "My Repository",
"name": "my/repository",
"homepage": "http://packages.example.org",
"repositories": [
{ "type": "vcs", "url": "https://github.com/mycompany/privaterepo" },
Expand Down Expand Up @@ -337,4 +339,4 @@ is set to true.
[ssl context options]: https://secure.php.net/manual/en/context.ssl.php
[Twig]: https://twig.sensiolabs.org/
[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

0 comments on commit 44e08be

Please sign in to comment.