PHP SDK

Version 2.5.13 — 2026-04-21

  • Display deprecation message about build in Sdk
  • Change the brand in versions and licenses

Version 2.5.12 — 2026-01-09

  • Support PHPUnit 10+

Version 2.5.11 — 2026-01-08

  • Add FrankenPHP profiler and subscriber for Symfony Runtime

Version 2.5.10 — 2025-11-21

  • Internal releasing changes

Version 2.5.9 — 2025-10-15

  • Prevent committing debug code

Version 2.5.8 — 2025-08-13

  • Fix Client's retry logic

Version 2.5.7 — 2025-01-28

  • Fix deprecations in return type declaration

Version 2.5.6 — 2025-01-10

  • [sdk] implement ProfileNotReadyException

Version 2.5.5 — 2024-12-23

  • Upgrade to PHP 8.4 to run functional tests
  • Fix CS

Version 2.5.4 — 2024-09-16

  • Fix CS

Version 2.5.3 — 2024-07-26

  • Minor perf improvment in uniqId generator

Version 2.5.2 — 2024-06-11

  • Add required defaultOption in BlackfiredHttpClient
  • Fix HttpClient when calling a relative URL

Version 2.5.1 — 2024-05-13

  • Remove documentation about samples feature

Version 2.5.0 — 2024-05-03

  • Deprecate the "samples" option

Version 2.4.1 — 2024-04-29

  • Fix deprecation message formatting

Version 2.4.0 — 2024-04-09

  • Add Behat support for the Symfony kernel browser

Version 2.3.9 — 2024-03-05

  • Fix CS

Version 2.3.8 — 2024-02-19

  • Fix CS

Version 2.3.7 — 2024-01-08

  • Fix CS

Version 2.3.6 — 2023-12-18

  • Send SDK version as part of the User Agent

Version 2.3.5 — 2023-11-03

  • enforce undefined step name when none is provided
  • fix `BlackfiredHttpClient` sampling

Version 2.3.4 — 2023-10-30

  • Ensure profiles processing is complete before binding them to a build

Version 2.3.3 — 2023-10-30

  • provide the `X-Blackfire-Profile-Uuid` response header when using `BlackfiredHttpClient`

Version 2.3.2 — 2023-10-26

  • Fix undefined array key error on bad Blackfire API response

Version 2.3.1 — 2023-10-24

  • Fix profile to build association when using a `BlackfiredHttpClient` instance

Version 2.3.0 — 2023-08-29

  • Add compatibility with version 2 of Blackfire builds, using "Json View"

Version 2.2.0 — 2023-08-01

  • Add maxRetries option to `getProfile()`

Version 2.1.0 — 2023-06-27

  • Add build uuid to Configuration

Version 2.0.1 — 2023-04-26

  • Remove call to removed method

Version 2.0.0 — 2023-04-13

  • Drop support of PHP 5.2 fallback
  • Remove deprecated methods of the version 1:
  • Blackfire/Client::createBuild, replaced by Blackfire/Client::startScenario
  • Blackfire/Client::endBuild, replaced by Blackfire/Client::closeScenario
  • Blackfire/Client::assertPhpUnit
  • Blackfire/Client::addJobInBuild, replaced by Blackfire/Client::addJobInScenario
  • Blackfire/Client::getReport, replaced by Blackfire/Client::getScenarioReport
  • Blackfire/LoopClient::promoteReferenceSignal
  • Blackfire/LoopClient::attachReference
  • Blackfire/Profile/Configuration::getBuild, replaced by Blackfire/Profile/Configuration::getScenario
  • Blackfire/Profile/Configuration::setBuild, replaced by Blackfire/Profile/Configuration::setScenario
  • Blackfire/Profile/Configuration::getReference
  • Blackfire/Profile/Configuration::setReference
  • Blackfire/Profile/Configuration::isNewReference
  • Blackfire/Profile/Configuration::setAsReference

Version 1.35.0 — 2023-04-06

  • Proper check of the probe feature for Octane integration

Version 1.34.0 — 2023-04-05

  • Update support URL
  • Add BlackfireProbe::setAttribute signature

Version 1.33.0 — 2023-01-26

  • Allow creating debug profile using PHP SDK

Version 1.32.0 — 2023-01-16

  • Use new intention feature when creating builds
  • Fix profile_title encoding
  • Update dependencies

Version 1.31.0 — 2022-06-14

  • Name transaction using latest API
  • Upgrade to PHP 8.1 to run functional tests

Version 1.30.0 — 2022-05-19

  • Add Laravel Octane integration
  • Add an optional argument 'transactionName' to the 'startTransaction' method

Version 1.29.0 — 2022-02-04

  • Add the Laravel Tests integration

Version 1.28.0 — 2021-12-17

  • Provide support for monitoring Symfony commands

Version 1.27.2 — 2021-11-17

  • Tweak exception messages

Version 1.27.1 — 2021-11-02

  • Fix Laravel integration

Version 1.27.0 — 2021-09-23

  • Add a Symfony Messenger integration
  • Add Monitoring integration for Laravel Artisan commands and Consumers
  • Update default agent socket on arm64

Version 1.26.0 — 2021-07-06

  • Retry HTTP request on specific cases
  • Scenarios should be closed after each test in manual start mode

Version 1.25.1 — 2021-03-18

  • Behat Support bug fix: start a deferred build only if there is no current build running

Version 1.25.0 — 2021-02-26

  • Add Behat support

Version 1.24.0 — 2021-02-05

  • Enable the use of Symfony web test cases with Blackfire

Version 1.23.0 — 2020-05-29

  • Add Blackfire\Profile::getUuid() method
  • Fix some docblocks

Version 1.22.0 — 2020-03-13

  • Add "dot-blackfire" protocol feature support in the probe
  • Remove duplicated data from BlackfireSpan
  • Better unsuccessful profiles detection
  • Add Profile return to help with auto-complete in TestCaseTrait::assertBlackfire

Version 1.21.0 — 2019-12-05

  • Replace the "_server" header in fallback probe by "context"

Version 1.20.0 — 2019-11-18

  • Add BlackfireSpan

Version 1.19.2 — 2019-10-09

  • Fix PHP 5.3 compatibility

Version 1.19.1 — 2019-08-14

  • Fix invalid header name breaking the Guzzle middleware with recent guzzle/psr7
  • Modify subprofile ID generator so that it's only ever composed of alphanumerics

Version 1.19.0 — 2019-08-02

  • Add Symfony HttpClient bridge
  • Fix compatibility with PHP 5.3
  • Fix sub-profile id generation to be compatible with url encoding

Version 1.18.0 — 2019-01-21

  • Deprecate methods and classes related to references

Version 1.17.6 — 2018-12-17

  • Fix PHPUnit bridge

Version 1.17.5 — 2018-12-14

  • Fix PHPUnit bridge

Version 1.17.4 — 2018-12-14

  • Fix profiling with Hoster environment

Version 1.17.3 — 2018-11-30

  • [PHPunit Bridge] Fix compatibility with PHP 5.x

Version 1.17.3 — 2018-11-30

  • [PHPunit Bridge] Fix compatibility with PHP 5.x

Version 1.17.2 — 2018-10-22

  • Remove headers from Blackfire\Exception\ApiException's message
  • Add method "getHeaders()" to Blackfire\Exception\ApiException

Version 1.17.1 — 2018-07-16

  • Fix usage of PHPUnit Bridge without assertions

Version 1.17.0 — 2018-07-11

  • Add proper version in the User-Agent header
  • Add User-Agent header as well as the X-Blackfire-User-Agent one
  • Add possibility to suffix the User Agent header

Version 1.16.0 — 2018-07-04

  • Update to use the Build API version 2
  • Add a new method `getBuildReport()` to get the Report of a full Build