sebastian/environment

Provides functionality to handle HHVM/PHP environments

Maintainers

Package info

github.com/sebastianbergmann/environment

pkg:composer/sebastian/environment

Statistics

Installs: 882 696 134

Dependents: 61

Suggesters: 1

Stars: 6 777

Open Issues: 2

9.3.0 2026-04-15 12:14 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