Skip to content

Commit

Permalink
addex how to install with composer in command line
Browse files Browse the repository at this point in the history
  • Loading branch information
royopa committed Jul 15, 2015
1 parent db33c00 commit 49e9f65
Showing 1 changed file with 12 additions and 2 deletions.
14 changes: 12 additions & 2 deletions README.md
Expand Up @@ -40,7 +40,15 @@ software availability and distribution.

PHPMailer is available via [Composer/Packagist](https://packagist.org/packages/phpmailer/phpmailer) (using semantic versioning), so just add this line to your `composer.json` file:

"phpmailer/phpmailer": "~5.2"
```json
"phpmailer/phpmailer": "~5.2"
```

or

```sh
composer require phpmailer/phpmailer
```

Alternatively, copy the contents of the PHPMailer folder into somewhere that's in your PHP `include_path` setting. If you don't speak git or just want a tarball, click the 'zip' button at the top of the page in GitHub.

Expand Down Expand Up @@ -136,7 +144,9 @@ We're particularly interested in fixing edge-cases, expanding test coverage and

With the move to the PHPMailer GitHub organisation, you'll need to update any remote URLs referencing the old GitHub location with a command like this from within your clone:

`git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git`
```sh
git remote set-url upstream https://github.com/PHPMailer/PHPMailer.git
```

Please *don't* use the SourceForge or Google Code projects any more.

Expand Down

0 comments on commit 49e9f65

Please sign in to comment.