Skip to content

Commit

Permalink
Updated Composer usage instructions
Browse files Browse the repository at this point in the history
- Reference Composer's install docs
- Use a globally installed Composer (the result of Composer's docs)
- Don't specify version, `composer require` automatically requires the latest version (and 1.0.* was quite outdated)
  • Loading branch information
wouterj committed Jan 10, 2021
1 parent 5730bef commit e51129b
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 10 deletions.
6 changes: 2 additions & 4 deletions CONTRIBUTING.md
Expand Up @@ -18,12 +18,11 @@ To install the project and run the tests, you need to clone it first:
$ git clone git://github.com/Ocramius/ProxyManager.git
```

You will then need to run a composer installation:
Make sure you've [installed Composer](https://getcomposer.org/download/) and install the dependencies:

```sh
$ cd ProxyManager
$ curl -s https://getcomposer.org/installer | php
$ php composer.phar update
$ composer update
```

## Testing
Expand All @@ -35,4 +34,3 @@ $ ./vendor/bin/phpunit
```

Accepted coverage for new contributions is 80%. Any contribution not satisfying this requirement won't be merged.

8 changes: 2 additions & 6 deletions docs/download.md
@@ -1,11 +1,7 @@
---
title: Download / Installation
---

## Download / Installation

The suggested installation method is via [composer](https://getcomposer.org/).
The suggested installation method is via [Composer](https://getcomposer.org/):

```sh
php composer.phar require ocramius/proxy-manager:1.0.*
composer require ocramius/proxy-manager
```

0 comments on commit e51129b

Please sign in to comment.