Use best practice for adding this library as a dependency using Composer

This commit is contained in:
Sebastian Bergmann 2016-10-03 09:44:30 +02:00
parent 42c4c2eec4
commit 7dfcd2418a
1 changed files with 7 additions and 6 deletions

View File

@ -162,10 +162,11 @@ LONG_STRING
## Installation
To add Exporter as a local, per-project dependency to your project, simply add a dependency on `sebastian/exporter` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on Exporter 1.0:
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
composer require sebastian/exporter
If you only need this library during development, for instance to run your project's test suite, then you should add it as a development-time dependency:
composer require --dev sebastian/exporter
{
"require": {
"sebastian/exporter": "1.0.*"
}
}