Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/sebastianbergmann/environment
Provides functionality that helps writing PHP code that has runtime-specific execution paths
https://github.com/sebastianbergmann/environment
Last synced: 14 days ago
JSON representation
Provides functionality that helps writing PHP code that has runtime-specific execution paths
- Host: GitHub
- URL: https://github.com/sebastianbergmann/environment
- Owner: sebastianbergmann
- License: bsd-3-clause
- Created: 2014-02-10T15:39:28.000Z (almost 11 years ago)
- Default Branch: main
- Last Pushed: 2024-03-23T13:07:39.000Z (8 months ago)
- Last Synced: 2024-05-18T11:42:23.330Z (6 months ago)
- Language: PHP
- Homepage:
- Size: 40.5 MB
- Stars: 6,665
- Watchers: 6
- Forks: 34
- Open Issues: 3
-
Metadata Files:
- Readme: README.md
- Changelog: ChangeLog.md
- Funding: .github/FUNDING.yml
- License: LICENSE
- Security: SECURITY.md
Awesome Lists containing this project
README
[![Latest Stable Version](https://poser.pugx.org/sebastian/environment/v)](https://packagist.org/packages/sebastian/environment)
[![CI Status](https://github.com/sebastianbergmann/environment/workflows/CI/badge.svg)](https://github.com/sebastianbergmann/environment/actions)
[![codecov](https://codecov.io/gh/sebastianbergmann/environment/branch/main/graph/badge.svg)](https://codecov.io/gh/sebastianbergmann/environment)# sebastian/environment
This component provides functionality that helps writing PHP code that has runtime-specific (PHP / HHVM) execution paths.
## Installation
You can add this library as a local, per-project dependency to your project using [Composer](https://getcomposer.org/):
```
composer require sebastian/environment
```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/environment
```