|
@@ -21,7 +21,7 @@ find more information about how to set it up and use it on the [Toran Proxy](htt
|
|
|
Satis on the other hand is open source but only a static `composer`
|
|
|
repository generator. It is a bit like an ultra-lightweight, static file-based
|
|
|
version of packagist and can be used to host the metadata of your company's
|
|
|
-private packages, or your own. You can get it from [GitHub](http://github.com/composer/satis)
|
|
|
+private packages, or your own. You can get it from [GitHub](https://github.com/composer/satis)
|
|
|
or install via CLI:
|
|
|
`php composer.phar create-project composer/satis --stability=dev --keep-vcs`.
|
|
|
|
|
@@ -44,9 +44,9 @@ The default file Satis looks for is `satis.json` in the root of the repository.
|
|
|
"name": "My Repository",
|
|
|
"homepage": "http://packages.example.org",
|
|
|
"repositories": [
|
|
|
- { "type": "vcs", "url": "http://github.com/mycompany/privaterepo" },
|
|
|
+ { "type": "vcs", "url": "https://github.com/mycompany/privaterepo" },
|
|
|
{ "type": "vcs", "url": "http://svn.example.org/private/repo" },
|
|
|
- { "type": "vcs", "url": "http://github.com/mycompany/privaterepo2" }
|
|
|
+ { "type": "vcs", "url": "https://github.com/mycompany/privaterepo2" }
|
|
|
],
|
|
|
"require-all": true
|
|
|
}
|
|
@@ -60,9 +60,9 @@ constraint if you want really specific versions.
|
|
|
```json
|
|
|
{
|
|
|
"repositories": [
|
|
|
- { "type": "vcs", "url": "http://github.com/mycompany/privaterepo" },
|
|
|
+ { "type": "vcs", "url": "https://github.com/mycompany/privaterepo" },
|
|
|
{ "type": "vcs", "url": "http://svn.example.org/private/repo" },
|
|
|
- { "type": "vcs", "url": "http://github.com/mycompany/privaterepo2" }
|
|
|
+ { "type": "vcs", "url": "https://github.com/mycompany/privaterepo2" }
|
|
|
],
|
|
|
"require": {
|
|
|
"company/package": "*",
|
|
@@ -135,7 +135,7 @@ Example using a custom repository using SSH (requires the SSH2 PECL extension):
|
|
|
}
|
|
|
```
|
|
|
|
|
|
-> **Tip:** See [ssh2 context options](http://www.php.net/manual/en/wrappers.ssh2.php#refsect1-wrappers.ssh2-options) for more information.
|
|
|
+> **Tip:** See [ssh2 context options](https://www.php.net/manual/en/wrappers.ssh2.php#refsect1-wrappers.ssh2-options) for more information.
|
|
|
|
|
|
Example using HTTP over SSL using a client certificate:
|
|
|
|
|
@@ -155,7 +155,7 @@ Example using HTTP over SSL using a client certificate:
|
|
|
}
|
|
|
```
|
|
|
|
|
|
-> **Tip:** See [ssl context options](http://www.php.net/manual/en/context.ssl.php) for more information.
|
|
|
+> **Tip:** See [ssl context options](https://www.php.net/manual/en/context.ssl.php) for more information.
|
|
|
|
|
|
Example using a custom HTTP Header field for token authentication:
|
|
|
|
|
@@ -232,8 +232,8 @@ Once enabled, all downloads (include those from GitHub and BitBucket) will be re
|
|
|
Prefixing the URL with another host is especially helpful if the downloads end up in a private Amazon S3
|
|
|
bucket or on a CDN host. A CDN would drastically improve download times and therefore package installation.
|
|
|
|
|
|
-Example: A `prefix-url` of `http://my-bucket.s3.amazonaws.com` (and `directory` set to `dist`) creates download URLs
|
|
|
-which look like the following: `http://my-bucket.s3.amazonaws.com/dist/vendor-package-version-ref.zip`.
|
|
|
+Example: A `prefix-url` of `https://my-bucket.s3.amazonaws.com` (and `directory` set to `dist`) creates download URLs
|
|
|
+which look like the following: `https://my-bucket.s3.amazonaws.com/dist/vendor-package-version-ref.zip`.
|
|
|
|
|
|
|
|
|
### Resolving dependencies
|