PackageTrack
Sign in Get early access

sebastian/environment

Provides functionality to handle HHVM/PHP environments

9.3.2 943M downloads/mo #50 most downloaded on composer sebastianbergmann/environment

What this package is like to depend on

Last release 3 months ago

25 May 2026

Release timing varies

gaps range from 1 weeks to 7 months

Most releases are documented

notes for 44 of 62 stable releases

Nothing withdrawn

no release was ever pulled

13 years old

62 releases · first in 2014

11 releases in the last 12 months

see the full history below

Release timeline

62 releases · Feb 2014 to May 2026
2015 2017 2019 2021 2023 2025
Release Pre-release

Releases

latest 60 of 62
  1. 9.3.2 25 May 2026
    Release notes

    Fixed

    • #99: Runtime::getCurrentSettings() forwards empty-string overrides for php.ini-only extensions
    Open source →
    Release notes

    Fixed

    • #99: Runtime::getCurrentSettings() forwards empty-string overrides for php.ini-only extensions
    Open source →
  2. 9.3.1 21 May 2026
    Release notes

    Fixed

    • #64: Runtime::getCurrentSettings() does not quote values, breaking php -d round-trip
    Open source →
    Release notes

    Fixed

    • #64: Runtime::getCurrentSettings() does not quote values, breaking php -d round-trip
    Open source →
  3. 9.3.0 15 Apr 2026
    Release notes

    Added

    • Runtime::getSettingsNotChangeableAtRuntime()
    Open source →
    Release notes

    Added

    • Runtime::getSettingsNotChangeableAtRuntime()
    Open source →
  4. 9.2.0 05 Apr 2026
    Release notes

    Added

    • #80: Support for FORCE_COLOR environment variable
    Open source →
    Release notes

    Added

    • #80: Support for FORCE_COLOR environment variable
    Open source →
  5. 9.1.0 22 Mar 2026
    Release notes

    Added

    • Host class
    Open source →
    Release notes

    Added

    • Host class
    Open source →
  6. 9.0.1 15 Mar 2026
    Release notes

    Fixed

    • #79: Warnings in non-TTY environments
    Open source →
    Release notes

    Fixed

    • #79: Warnings in non-TTY environments
    Open source →
  7. 9.0.0 06 Feb 2026
    Release notes

    Removed

    • This component is no longer supported on PHP 8.3
    Open source →
  8. 8.1.2 25 May 2026
    Release notes

    Fixed

    • #99: Runtime::getCurrentSettings() forwards empty-string overrides for php.ini-only extensions
    Open source →
    Release notes

    Fixed

    • #99: Runtime::getCurrentSettings() forwards empty-string overrides for php.ini-only extensions
    Open source →
  9. 8.1.1 21 May 2026
    Release notes

    Fixed

    • #64: Runtime::getCurrentSettings() does not quote values, breaking php -d round-trip
    Open source →
    Release notes

    Fixed

    • #64: Runtime::getCurrentSettings() does not quote values, breaking php -d round-trip
    Open source →
  10. 8.1.0 15 Apr 2026
    Release notes

    Added

    • Runtime::getSettingsNotChangeableAtRuntime()
    Open source →
    Release notes

    Added

    • Runtime::getSettingsNotChangeableAtRuntime()
    Open source →
  11. 8.0.4 15 Mar 2026
    Release notes

    Fixed

    • #79: Warnings in non-TTY environments
    Open source →
    Release notes

    Fixed

    • #79: Warnings in non-TTY environments
    Open source →
  12. 8.0.3 12 Aug 2025
    Release notes

    Changed

    • #75: Make Runtime::isOpcacheActive() public
    Open source →
  13. 8.0.2 21 May 2025
    Release notes

    Fixed

    • #74: Regression introduced in version 8.0.0
    Open source →
  14. 8.0.1 21 May 2025
    Release notes

    Fixed

    • Take Xdebug mode into account for Runtime::canCollectCodeCoverage()
    Open source →
  15. 8.0.0 07 Feb 2025
    Release notes

    Removed

    • This component is no longer supported on PHP 8.2
    Open source →
  16. 7.2.1 21 May 2025
    Release notes

    Fixed

    • Take Xdebug mode into account for Runtime::canCollectCodeCoverage()
    Open source →
  17. 7.2.0 03 Jul 2024
    Release notes

    Changed

    • Synced Console::hasColorSupport() with Symfony's StreamOutput::hasColorSupport() implementation
    • Removed code left over from a time before PHP 5.4 and when HHVM was still supported
    • This project now uses PHPStan instead of Psalm for static analysis

    Deprecated

    • The Runtime::getBinary() method is now deprecated, use escapeshellarg(PHP_BINARY) instead
    • The Runtime::getRawBinary() method is now deprecated, use the PHP_BINARY constant instead
    Open source →
  18. 7.1.0 23 Mar 2024
    Release notes

    Added

    • #72: Runtime::getRawBinary()
    Open source →
  19. 7.0.0 02 Feb 2024
    Release notes

    Removed

    • This component is no longer supported on PHP 8.1
    Open source →
  20. 6.1.0 23 Mar 2024
    Release notes

    Added

    • #72: Runtime::getRawBinary()
    Open source →
  21. 6.0.1 11 Apr 2023
    Release notes

    Fixed

    • #68: The Just-in-Time compiler is disabled when opcache.jit_buffer_size is set to 0
    • #70: The first 0 of opcache.jit only disables CPU-specific optimizations, not the Just-in-Time compiler itself
    Open source →
  22. 6.0.0 03 Feb 2023
    Release notes

    Removed

    • Removed SebastianBergmann\Environment\OperatingSystem::getFamily() because this component is no longer supported on PHP versions that do not have PHP_OS_FAMILY
    • Removed SebastianBergmann\Environment\Runtime::isHHVM()
    • This component is no longer supported on PHP 7.3, PHP 7.4, and PHP 8.0
    Open source →
  23. 5.1.5 03 Feb 2023
    Release notes

    Fixed

    • #59: Wrong usage of stream_isatty(), fstat() used without checking whether the function is available
    Open source →
  24. 5.1.4 03 Apr 2022
    Release notes

    Fixed

    • #63: Runtime::getCurrentSettings() does not correctly process INI settings
    Open source →
  25. 5.1.3 28 Sep 2020
    Release notes

    Changed

    • Changed PHP version constraint in composer.json from ^7.3 || ^8.0 to >=7.3
    Open source →
  26. 5.1.2 26 Jun 2020
    Release notes

    Added

    • This component is now supported on PHP 8
    Open source →
  27. 5.1.1 15 Jun 2020
    Release notes

    Changed

    • Tests etc. are now ignored for archive exports
    Open source →
  28. 5.1.0 14 Apr 2020
    Release notes

    Added

    • Runtime::performsJustInTimeCompilation() returns true if PHP 8's JIT is active, false otherwise
    Open source →
  29. 5.0.2 31 Mar 2020
    Release notes

    Fixed

    • #55: stty command is executed even if no tty is available
    Open source →
  30. 5.0.1 19 Feb 2020
    Release notes

    Changed

    • Runtime::getNameWithVersionAndCodeCoverageDriver() now prioritizes PCOV over Xdebug when both extensions are loaded (just like php-code-coverage does)
    Open source →
  31. 5.0.0 07 Feb 2020
    Release notes

    Removed

    • This component is no longer supported on PHP 7.1 and PHP 7.2
    Open source →
  32. 4.2.5 01 Mar 2024

    Nothing published for this version

  33. 4.2.4 30 Nov 2020

    Nothing published for this version

  34. 4.2.3 20 Nov 2019
    Release notes

    Changed

    • #50: Windows improvements to console capabilities

    Fixed

    • #49: Detection how OpCache handles docblocks does not work correctly when PHPDBG is used
    Open source →
  35. 4.2.2 05 May 2019
    Release notes

    Fixed

    • #44: TypeError in Console::getNumberOfColumnsInteractive()
    Open source →
  36. 4.2.1 25 Apr 2019
    Release notes

    Fixed

    • Fixed an issue in Runtime::getCurrentSettings()
    Open source →
  37. 4.2.0 25 Apr 2019
    Release notes

    Added

    • #36: Runtime::getCurrentSettings()
    Open source →
  38. 4.1.0 01 Feb 2019
    Release notes

    Added

    • Implemented Runtime::getNameWithVersionAndCodeCoverageDriver() method
    • #34: Support for PCOV extension
    Open source →
  39. 4.0.2 28 Jan 2019
    Release notes

    Fixed

    • #33: Runtime::discardsComments() returns true too eagerly

    Removed

    • Removed support for Zend Optimizer+ in Runtime::discardsComments()
    Open source →
  40. 4.0.1 25 Nov 2018
    Release notes

    Fixed

    • #31: Regressions in Console class
    Open source →
  41. 3.1.0 01 Jul 2017
    Release notes

    Added

    • #21: Equivalent of PHP_OS_FAMILY (for PHP < 7.2)
    Open source →
  42. 3.0.4 20 Jun 2017
    Release notes

    Fixed

    • #20: PHP 7 mode of HHVM not forced
    Open source →
  43. 3.0.3 18 May 2017
    Release notes

    Fixed

    • #18: Uncaught TypeError: preg_match() expects parameter 2 to be string, null given
    Open source →
  44. 3.0.2 21 Apr 2017
    Release notes

    Fixed

    • #17: Uncaught TypeError: trim() expects parameter 1 to be string, boolean given
    Open source →
  45. 3.0.1 21 Apr 2017
    Release notes

    Fixed

    • Fixed inverted logic in Runtime::discardsComments()
    Open source →
  46. 3.0.0 21 Apr 2017
    Release notes

    Added

    • Implemented Runtime::discardsComments() for querying whether the PHP runtime discards annotations

    Removed

    • This component is no longer supported on PHP 5.6
    Open source →
  47. 2.0.0 26 Nov 2016

    Nothing published for this version

  48. 1.3.8 18 Aug 2016

    Nothing published for this version

  49. 1.3.7 17 May 2016

    Nothing published for this version

  50. 1.3.6 04 May 2016

    Nothing published for this version

  51. 1.3.5 26 Feb 2016

    Nothing published for this version

  52. 1.3.4 26 Feb 2016

    Nothing published for this version

  53. 1.3.3 02 Dec 2015

    Nothing published for this version

  54. 1.3.2 03 Aug 2015

    Nothing published for this version

  55. 1.3.1 02 Aug 2015

    Nothing published for this version

  56. 1.3.0 26 Jul 2015

    Nothing published for this version

  57. 1.2.2 01 Jan 2015

    Nothing published for this version

  58. 1.2.1 25 Oct 2014

    Nothing published for this version

  59. 1.2.0 22 Oct 2014

    Nothing published for this version

  60. 1.1.0 07 Oct 2014

    Nothing published for this version

Every package, every release, already written down.

The archive is open and free. Watching your own project is what we are building next.

Browse the archive