sebastian/environment
Runtime environment helper for PHP projects. Detects PHP/HHVM runtime specifics so you can choose safe execution paths, handle version and platform differences, and write portable code with minimal conditionals—useful in libraries and test tooling.
#80: Support for FORCE_COLOR environment variableHost classRuntime::isOpcacheActive() publicRuntime::canCollectCodeCoverage()Runtime::canCollectCodeCoverage()Console::hasColorSupport() with Symfony's StreamOutput::hasColorSupport() implementationRuntime::getBinary() method is now deprecated, use escapeshellarg(PHP_BINARY) insteadRuntime::getRawBinary() method is now deprecated, use the PHP_BINARY constant insteadRuntime::getRawBinary()Runtime::getRawBinary()How can I help you explore Laravel packages today?