Documentation
parent
4209fd2e4a
commit
e4435790a4
|
@ -608,8 +608,8 @@ update to the latest version.
|
||||||
|
|
||||||
### Path
|
### Path
|
||||||
|
|
||||||
In addition to the artifact repository, you can use the path one, which allow
|
In addition to the artifact repository, you can use the path one, which allows
|
||||||
you to depends on a relative directory. This can be especially useful when dealing
|
you to depend on a relative directory. This can be especially useful when dealing
|
||||||
with monolith repositories.
|
with monolith repositories.
|
||||||
|
|
||||||
For instance, if you have the following directory structure in your repository:
|
For instance, if you have the following directory structure in your repository:
|
||||||
|
@ -639,6 +639,9 @@ file, you can use the following configuration:
|
||||||
}
|
}
|
||||||
```
|
```
|
||||||
|
|
||||||
|
Repository paths can also contain wildcards like ``*`` and ``?``.
|
||||||
|
For details, see the [PHP glob function](http://php.net/glob).
|
||||||
|
|
||||||
## Disabling Packagist
|
## Disabling Packagist
|
||||||
|
|
||||||
You can disable the default Packagist repository by adding this to your
|
You can disable the default Packagist repository by adding this to your
|
||||||
|
|
|
@ -38,6 +38,10 @@ use Composer\Util\ProcessExecutor;
|
||||||
* {
|
* {
|
||||||
* "type": "path",
|
* "type": "path",
|
||||||
* "url": "/absolute/path/to/package/"
|
* "url": "/absolute/path/to/package/"
|
||||||
|
* },
|
||||||
|
* {
|
||||||
|
* "type": "path",
|
||||||
|
* "url": "/absolute/path/to/several/packages/*"
|
||||||
* }
|
* }
|
||||||
* ]
|
* ]
|
||||||
* @endcode
|
* @endcode
|
||||||
|
|
Loading…
Reference in New Issue