sebastian/environment

Provides functionality to handle HHVM/PHP environments

Maintainers

Package info

github.com/sebastianbergmann/environment

pkg:composer/sebastian/environment

Statistics

Installs: 865 640 166

Dependents: 61

Suggesters: 1

Stars: 6 777

Open Issues: 3

9.0.0 2026-02-06 04:43 UTC

README

Latest Stable Version CI Status codecov

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:

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