sebastian/environment

repository·main·Indexed 27 days ago

https://github.com/sebastianbergmann/environment

A PHP component designed to facilitate writing code with runtime-specific execution paths, specifically helping to differentiate between PHP and HHVM environments.

Tokens
151
Snippets
1
Records
2
Agent score
42%

What's inside sebastian/environment

  1. Install sebastian/environment via Composer

    main

    You can install this library as a local, per-project dependency using Composer.

    To add it as a standard dependency:

    composer require sebastian/environment

    If you only require the library for development purposes (such as running a test suite), add it as a development-time dependency:

    composer require --dev sebastian/environment