Skip to content
This repository was archived by the owner on Jul 26, 2021. It is now read-only.

Commit 2ef59c5

Browse files
Use best practice for adding this library as a dependency using Composer
1 parent cab6c6f commit 2ef59c5

File tree

1 file changed

+7
-6
lines changed

1 file changed

+7
-6
lines changed

README.md

Lines changed: 7 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,10 +4,11 @@
44

55
## Installation
66

7-
To add this package as a local, per-project dependency to your project, simply add a dependency on `phpunit/php-token-stream` to your project's `composer.json` file. Here is a minimal example of a `composer.json` file that just defines a dependency on PHP_TokenStream:
7+
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
8+
9+
composer require phpunit/php-token-stream
10+
11+
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:
12+
13+
composer require --dev phpunit/php-token-stream
814

9-
{
10-
"require": {
11-
"phpunit/php-token-stream": "~1.2"
12-
}
13-
}

0 commit comments

Comments
 (0)