| 148 |
lars |
1 |
# sebastian/environment
|
|
|
2 |
|
|
|
3 |
[](https://packagist.org/packages/sebastian/environment)
|
|
|
4 |
[](https://github.com/sebastianbergmann/environment/actions)
|
|
|
5 |
[](https://shepherd.dev/github/sebastianbergmann/environment)
|
|
|
6 |
|
|
|
7 |
This component provides functionality that helps writing PHP code that has runtime-specific (PHP / HHVM) execution paths.
|
|
|
8 |
|
|
|
9 |
## Installation
|
|
|
10 |
|
|
|
11 |
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
|
|
|
12 |
|
|
|
13 |
```
|
|
|
14 |
composer require sebastian/environment
|
|
|
15 |
```
|
|
|
16 |
|
|
|
17 |
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:
|
|
|
18 |
|
|
|
19 |
```
|
|
|
20 |
composer require --dev sebastian/environment
|
|
|
21 |
```
|