Skip to content

Commit

Permalink
Merge pull request #142 from hirak/update-readme
Browse files Browse the repository at this point in the history
Update readme
  • Loading branch information
hirak authored Apr 12, 2017
2 parents d04bf09 + dc2c0d4 commit 154c44b
Show file tree
Hide file tree
Showing 4 changed files with 97 additions and 180 deletions.
2 changes: 1 addition & 1 deletion .envrc
Original file line number Diff line number Diff line change
@@ -1 +1 @@
PATH_add ~/.php/7.0.14/bin
PATH_add ~/.php/7.1.3/bin
59 changes: 1 addition & 58 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -22,7 +22,7 @@ prestissimo (composer plugin)
## Install

```bash
$ composer global require "hirak/prestissimo:^0.3"
$ composer global require hirak/prestissimo
```


Expand Down Expand Up @@ -51,63 +51,6 @@ Recognize composer's options. You don't need to set any special configuration.
- [config.capath](https://getcomposer.org/doc/06-config.md#capath)
- [config.cafile](https://getcomposer.org/doc/06-config.md#cafile)

### `prestissimo ^0.2.x`

in local `composer.json` or `~/.composer/config.json`

```json
{
...
"config": {
"prestissimo": {
"maxConnections": 6,
"minConnections": 3,
"verbose": false,
"insecure": false,
"cainfo": "/absolute/path/to/cacert.pem",
"userAgent": "Your Awesome User Agent",
"privatePackages": [
"myorg/private1", "myorg/private2", ...
]
}
}
...
}
```

### maxConnections (int)
* default: 6

Limit connections for parallel downloading.


### verbose (bool)
* default: false

`CURLOPT_VERBOSE` option.


### insecure (bool)
* default: false

If insecure is true, this plugin doesn't verify all https certs. (`CURLOPT_SSL_VERIFYPEER` is off)
You SHOULD NOT change this option.

### cainfo (string)
* default: "" (empty)

An absolute path to cacert.pem

### userAgent (string)
* default: "" (empty)

User Agent for downloading. `CURLOPT_USERAGENT` option.
If userAgent is empty, composer user agent is used.

### privatePackages (string[])
* default: empty

If you list packages in this option, the local redirector(api.github.com -> codeload.github.com) will be off.

## Composer authentication

Expand Down
34 changes: 0 additions & 34 deletions composer.list

This file was deleted.

Loading

0 comments on commit 154c44b

Please sign in to comment.