PackageTrack
Sign in Get early access

chrome-php/chrome

Instrument headless chrome/chromium instances from PHP

v1.16.1 5.6M downloads/mo #1314 most downloaded on Packagist chrome-php/chrome

What this package is like to depend on

Last release 1 months ago

06 Jul 2026

Ships fairly regularly

a new release about every 4 months

Most releases are documented

notes for 39 of 54 stable releases

Nothing withdrawn

no release was ever pulled

8 years old

54 releases · first in 2018

4 releases in the last 12 months

see the full history below

Release timeline

54 releases · Apr 2018 to Jul 2026
2019 2020 2021 2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 54
  1. v1.16.1 06 Jul 2026
    Release notes
    • Pass explicit trim characters ahead of the PHP 8.6 trim default change
    Open source →
    Release notes
    • Pass explicit trim characters ahead of the PHP 8.6 trim default change
    Open source →
  2. v1.16.0 06 Jul 2026
    Release notes
    • Promote the returned PageUtils helper classes to the public API
    • Add an option and browser API to disable JavaScript execution on existing and future pages
    • Allow choosing the box model in Node::getPosition()
    • Allow setting referrer, referrerPolicy and transitionType in Page::navigate()
    • Add Page::authenticate and Page::clearAuthentication methods for HTTP authentication challenges
    • Add AbstractBinaryInput::saveToStream method
    • Allow specifying options in Page::screenshotElement()
    • Allow fractional mouse coordinates in Mouse::move()
    • Return floats from Mouse::getPosition()
    • Wait for socket data instead of polling for responses
    • Require chrome-php/wrench ^1.9
    • Support newer versions of Chrome
    Open source →
    Release notes
    • Promote the returned PageUtils helper classes to the public API
    • Add an option and browser API to disable JavaScript execution on existing and future pages
    • Allow choosing the box model in Node::getPosition()
    • Allow setting referrer, referrerPolicy and transitionType in Page::navigate()
    • Add Page::authenticate and Page::clearAuthentication methods for HTTP authentication challenges
    • Add AbstractBinaryInput::saveToStream method
    • Allow specifying options in Page::screenshotElement()
    • Allow fractional mouse coordinates in Mouse::move()
    • Return floats from Mouse::getPosition()
    • Wait for socket data instead of polling for responses
    • Require chrome-php/wrench ^1.9
    • Support newer versions of Chrome
    Open source →
  3. v1.15.1 06 Jul 2026
    Release notes
    • Fix mouse scrolling timing out when the page changes during the scroll
    • Fix Linux Chrome binary detection on POSIX shells
    Open source →
    Release notes
    • Fix mouse scrolling timing out when the page changes during the scroll
    • Fix Linux Chrome binary detection on POSIX shells
    Open source →
  4. v1.15.0 27 Dec 2025
    Release notes
    • Add PHP 8.5 support
    • Add support for using Symfony 8 components
    • Remove support for Symfony 4 components
    • Add CHROME_NO_SANDBOX env var
    Open source →
    Release notes
    • Add PHP 8.5 support
    • Add support for using Symfony 8 components
    • Remove support for Symfony 4 components
    • Add CHROME_NO_SANDBOX env var
    Open source →
  5. v1.14.0 28 May 2025
    Release notes
    • Use more specific return type in PageScreenshot::getException
    • Security fix for missing encoding in CssSelector
    Open source →
    Release notes
    • Use more specific return type in PageScreenshot::getException
    • Security fix for missing encoding in CssSelector
    Open source →
  6. v1.13.0 07 Feb 2025
    Release notes
    • Set maximal expires value if session=false in Page::setCookies
    Open source →
    Release notes
    • Set maximal expires value if session=false in Page::setCookies
    Open source →
  7. v1.12.1 07 Feb 2025
    Release notes
    • Fix nullable parameter definition in AbstractBinaryInput::getRawBinary
    Open source →
    Release notes
    • Fix nullable parameter definition in AbstractBinaryInput::getRawBinary
    Open source →
  8. v1.12.0 09 Dec 2024
    Release notes
    • Add PHP 8.4 support
    • Add the ability to screenshot individual elements on the page
    • Add AbstractBinaryInput::getRawBinary method
    • Have Cookie implement IteratorAggregate
    Open source →
    Release notes
    • Add PHP 8.4 support
    • Add the ability to screenshot individual elements on the page
    • Add AbstractBinaryInput::getRawBinary method
    • Have Cookie implement IteratorAggregate
    Open source →
  9. v1.11.0 17 Mar 2024
    Release notes
    • Add PHP 8.3 support
    • Auto-detect Chromium too
    Open source →
    Release notes
    • Add PHP 8.3 support
    • Auto-detect Chromium too
    Open source →
  10. v1.10.1 17 Mar 2024
    Release notes
    • Fixed encoding bugs in XPathSelector
    Open source →
    Release notes
    • Fixed encoding bugs in XPathSelector
    Open source →
  11. v1.10.0 10 Dec 2023
    Release notes
    • Add Add Node::setHTML method
    • Add Page::setScriptExecution method
    • Allow usage of XPath in Page::waitForElement
    • Enable removal of Chrome flags via excludedSwitches option
    • Add support for webp format and optimizeForSpeed option in Page::screenshot
    • Add support for using Symfony 7 components
    Open source →
  12. v1.9.1 08 Oct 2023
    Release notes
    • Fix rare crash in Page::getHtml
    • Fix whitespace character handling in Keyboard::typeText()
    Open source →
  13. v1.9.0 30 Apr 2023
    Release notes
    • Added some additional life-cycle event constants
    • Added support for disabling browser notifications
    Open source →
  14. v1.8.1 11 Mar 2023
    Release notes
    • Fixed issue where Chrome 111 and later have different default allowed origins
    Open source →
  15. v1.8.0 27 Feb 2023
    Release notes
    • Add helper function to find target
    • Add --crash-dumps-dir option
    • Allow passing the event name to wait for in setHtml
    • Dropped PHP 7.3 support
    Open source →
  16. v1.7.2 27 Feb 2023
    Release notes
    • Fix case where the timeout in setHtml() isn't respected
    • Fix hard coded timeout in Dom class
    • Fix hard coded timeout in ResponseReader class
    • Stop process when an error occurs during startup
    • Stop process on waitForStartup if dev tools failed to start
    • Disconnect socket on sendCloseMessage
    Open source →
  17. v1.7.1 04 Sep 2022
    Release notes
    • Fix command execution in AutoDiscover
    Open source →
  18. v1.7.0 28 Aug 2022
    Release notes
    • Use command to guess the chrome executable in Linux
    • Officially support PHP 8.2
    • Fix extra HTTP headers
    Open source →
  19. v1.6.2 28 Aug 2022
    Release notes
    • Fix intermittency in Mouse::findElement()
    • Fix scroll with values higher than possible
    Open source →
  20. v1.6.1 17 May 2022
    Release notes
    • Support Monolog 3
    Open source →
  21. v1.6.0 30 Mar 2022
    Release notes
    • Officially support PHP 8.1
    Open source →
  22. v1.5.0 25 Mar 2022
    Release notes
    • Added Browser::getPages method
    • Added Page::waitUntilContainsElement() method
    • Added Page::setHtml() method
    • Added support for XPath by introducing Selector
    • Added Mouse::findElement() method
    • Switch to flatten mode
    Open source →
  23. v1.4.1 25 Mar 2022
    Release notes
    • Added fallback to css layout metrics
    • Added missing destroyed setting
    • Prevent Node::querySelector from returning nodeId 0
    • Fixed "What's new" page opening on startup
    • More fixes to enable eventual PHP 8.1 support
    Open source →
  24. v1.4.0 23 Jan 2022
    Release notes
    • Added support for --no-proxy-server and --proxy-bypass-list
    • Added timeout option to Page::getHtml
    • Added Node::sendFiles method
    Open source →
  25. v1.3.1 23 Jan 2022
    Release notes
    • Fixed issues with Keyboard::typeText with multibyte strings
    • Fixed issues with retina and scaled displays
    • Fixed issues with timeouts if system time changes
    • Fixed Mouse::find() after cursor has moved
    Open source →
  26. v1.3.0 07 Dec 2021
    Release notes
    • Added support for setting HTTP headers
    • Added support for psr/log 2 and 3
    Open source →
  27. v1.2.1 07 Dec 2021
    Release notes
    • Partial PHP 8.1 support
    Open source →
  28. v1.2.0 20 Nov 2021
    Release notes
    • Dropped --disable-default-apps and --disable-extensions by default
    • Added API for interacting with the DOM
    • Added a way to set the timezone
    • Reworked PagePdf class to improve validation
    Open source →
  29. v1.1.1 20 Nov 2021
    Release notes
    • Fix mouse element position
    Open source →
  30. v1.1.0 26 Sep 2021
    Release notes
    • Add DOM element locator
    Open source →
  31. v1.0.1 01 Sep 2021
    Release notes
    • Fix mouse scroll maximum distance
    Open source →
  32. v1.0.0 15 Aug 2021
    Release notes
    • Switched over to chrome-php/wrench
    • Add support for keyboard key combinations
    Open source →
  33. v0.11.2 01 Sep 2021

    Nothing published for this version

  34. v0.11.1 15 Aug 2021
    Release notes
    • Fix scroll method returning prematurely
    Open source →
  35. v0.11.0 18 Jul 2021
    Release notes
    • Added support for proxy servers as a direct option
    • Added support for passing environment variables
    • Added support for Symfony 6
    • Removed broken getChromeVersion function
    • Implemented more robust auto-discovery
    Open source →
  36. v0.10.0 22 May 2021
    Release notes
    • Added Page::getHtml
    • Added keyboard API
    • Added mouse scrolling
    • Attempt to auto-detect chrome binary path
    • Added support for setDownloadPath
    • Added support for captureBeyondViewport
    Open source →
  37. v0.9.0 09 Dec 2020
    Release notes
    • Support PHP 8.0
    • Increase default sync timeout to 5 seconds
    • Set --font-render-hinting=none in headless mode
    • Fixed keep alive option
    • Fixed various phpdoc issues
    • Fixed sending params to newer Chrome
    • Fixed Wrench::connect() return value
    • Avoid non-thread-safe getenv function
    Open source →
  38. v0.8.1 20 Feb 2020
    Release notes
    • Fixed issues with Browser::close
    • Support PHP 7.3 and 7.4
    Open source →
  39. v0.8.0 20 Feb 2020
    Release notes
    • Added Page::pdf
    • Added timeout for PageEvaluation methods
    • Added support for Symfony 5
    • Added Browser::close
    Open source →
  40. v0.7.0 04 Oct 2019
    Release notes
    • Escaping custom flags for BrowserFactory is now automatic
    • Added timeout for Page::getFullPageClip
    • Added timeout for method getBase64
    • Added options headerTemplate and footerTempalte for Page::pdf
    • Added options scale for Page::pdf
    • Handle gracefully all pages failing to close
    • Fixed deprecation from Symfony
    Open source →
  41. v0.6.0 14 Nov 2018

    Nothing published for this version

  42. v0.5.0 13 Nov 2018

    Nothing published for this version

  43. v0.4.0 25 Oct 2018

    Nothing published for this version

  44. v0.3.0 13 Oct 2018

    Nothing published for this version

  45. v0.2.4 04 Oct 2018

    Nothing published for this version

  46. v0.2.3 02 Oct 2018

    Nothing published for this version

  47. v0.2.2 28 Aug 2018

    Nothing published for this version

  48. v0.2.1 20 Jun 2018

    Nothing published for this version

  49. v0.2.0 15 Jun 2018

    Nothing published for this version

  50. v0.1.4 27 Apr 2018

    Nothing published for this version

  51. v0.1.3 26 Apr 2018

    Nothing published for this version

  52. v0.1.2 26 Apr 2018

    Nothing published for this version

  53. v0.1.1 25 Apr 2018

    Nothing published for this version

  54. v0.1.0 06 Apr 2018

    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