PackageTrack
Sign in Get early access

spatie/flare-client-php

Send PHP errors to Flare

3.3.1 170M downloads/mo #256 most downloaded on Packagist spatie/flare-client-php

What this package is like to depend on

Last release 1 months ago

22 Jul 2026

Ships fairly regularly

a new release about every 2 weeks

Most releases are documented

notes for 66 of 77 stable releases

Nothing withdrawn

no release was ever pulled

5 years old

80 releases · first in 2021

34 releases in the last 12 months

see the full history below

Release timeline

79 releases · May 2021 to Jul 2026
2022 2023 2024 2025 2026
Release Pre-release

Releases

latest 60 of 80
  1. 3.3.1 22 Jul 2026
    Release notes

    What's Changed

    New Contributors

    Full Changelog: 3.3.0...3.3.1

    Open source →
    Release notes

    What's Changed

    • Add support for Guzzle 8 by @GrahamCampbell in https://github.com/spatie/flare-client-php/pull/86

    New Contributors

    • @GrahamCampbell made their first contribution in https://github.com/spatie/flare-client-php/pull/86

    Full Changelog: https://github.com/spatie/flare-client-php/compare/3.3.0...3.3.1

    Open source →
  2. 3.3.0 15 Jul 2026
    Release notes

    What's Changed

    • Trim large span attributes at record time to bound trace memory by @rubenvanassche in #85

    Full Changelog: 3.2.1...3.3.0

    Open source →
    Release notes

    What's Changed

    • Trim large span attributes at record time to bound trace memory by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/85

    Full Changelog: https://github.com/spatie/flare-client-php/compare/3.2.1...3.3.0

    Open source →
  3. 3.2.1 03 Jul 2026
    Release notes

    What's Changed

    Full Changelog: 3.2.0...3.2.1

    Open source →
    Release notes

    What's Changed

    • Add expectAttributeIf test helper by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/83

    Full Changelog: https://github.com/spatie/flare-client-php/compare/3.2.0...3.2.1

    Open source →
  4. 3.2.0 03 Jul 2026
    Release notes

    What's Changed

    Full Changelog: 3.1.2...3.2.0

    Open source →
    Release notes

    What's Changed

    • Support PHP 8.1 by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/82

    Full Changelog: https://github.com/spatie/flare-client-php/compare/3.1.2...3.2.0

    Open source →
  5. 3.1.2 02 Jul 2026
    Release notes

    What's Changed

    Full Changelog: 3.1.1...3.1.2

    Open source →
    Release notes

    What's Changed

    • Strip embedded credentials from git remote URL by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/81

    Full Changelog: https://github.com/spatie/flare-client-php/compare/3.1.1...3.1.2

    Open source →
  6. 3.1.1 01 Jul 2026
    Release notes

    What's Changed

    Full Changelog: 3.1.0...3.1.1

    Open source →
    Release notes

    What's Changed

    • Fix previous throwable stacktrace using the wrong exception's frames by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/79
    • Fix CI failures caused by Symfony 8 by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/80

    Full Changelog: https://github.com/spatie/flare-client-php/compare/3.1.0...3.1.1

    Open source →
  7. 3.1.0 28 May 2026
    Release notes

    What's Changed

    Full Changelog: 3.0.1...3.1.0

    Open source →
    Release notes

    What's Changed

    • Attach trace and span id to error reports by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/77
    • Tie trace ids to active lifetime, add Flare::start()/end() by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/78

    Full Changelog: https://github.com/spatie/flare-client-php/compare/3.0.1...3.1.0

    Open source →
  8. 3.0.1 24 May 2026
    Release notes

    Full Changelog: 3.0.0...3.0.1

    Open source →
    Release notes

    Full Changelog: https://github.com/spatie/flare-client-php/compare/3.0.0...3.0.1

    Open source →
  9. 3.0.0 21 May 2026
    Release notes

    Logs, logs, logs and more:

    • Dedicated logging: new first-class logger on $flare->log() that records messages in the OpenTelemetry log format, replacing reportMessage(). Log levels now use Monolog's Level enum. See Logs.
    • Dynamic sampling: new DynamicSampler with SamplingRule definitions, letting you sample per entry point (e.g. health checks at 0%, checkout flows at 100%) without writing a custom sampler. See Sampling.
    • W3C traceparent aware sampling: samplers now receive an ?bool $parentSampled and can honor (or override) the inherited decision.
    • Job and queue recorders: first-class JobRecorder and QueueRecorder as part of the standard recorder pipeline. See Jobs and queues.
    • Subtask mode: jobs and commands executed inside an existing trace attach as subtasks instead of starting a new root trace.
    • Entry points: new EntryPoint value object resolved via EntryPointResolver, replacing the loose entryPointClass arguments and array context passed to samplers.
    • Attribute providers: recorders now accept dedicated RequestAttributesProvider, ResponseAttributesProvider, RouteAttributesProvider, CommandAttributesProvider, JobAttributesProvider, and UserAttributesProvider contracts, replacing ad-hoc recorder arguments. See Attribute providers.
    • Lifecycle: new Lifecycle class on $flare->lifecycle that owns flushing, resets, and internal state previously exposed on Flare. See Application lifecycle.
    • Flare daemon bundled by default: DaemonSender ships with the client and routes errors, traces, and logs through the local Flare daemon, with curl fallback when it's unreachable.
    • Flare accessors are now properties: $flare->tracer, $flare->backTracer, $flare->sentReports, $flare->ids, $flare->time, $flare->lifecycle, $flare->logger, $flare->reporter are public readonly properties.
    • Removed: error solutions (collectSolutions(), withSolutionProvider(), AddSolutions middleware, the spatie/error-solutions dependency).
    • Removed: reportMessage(), includeStackTraceWithMessages(), MessageLevels enum, sendReportsImmediately(), Flare::reset(), $flare->application().
    • Renamed: collectLogs()collectLogsWithErrors(), ignoreLogs()ignoreLogsWithErrors(), Tracer::addRawSpan()addSpan().

    Full upgrade notes in UPGRADING.md.

    Open source →
    Release notes

    Logs, logs, logs and more:

    • Dedicated logging: new first-class logger on $flare->log() that records messages in the OpenTelemetry log format, replacing reportMessage(). Log levels now use Monolog's Level enum. See Logs.
    • Dynamic sampling: new DynamicSampler with SamplingRule definitions, letting you sample per entry point (e.g. health checks at 0%, checkout flows at 100%) without writing a custom sampler. See Sampling.
    • W3C traceparent aware sampling: samplers now receive an ?bool $parentSampled and can honor (or override) the inherited decision.
    • Job and queue recorders: first-class JobRecorder and QueueRecorder as part of the standard recorder pipeline. See Jobs and queues.
    • Subtask mode: jobs and commands executed inside an existing trace attach as subtasks instead of starting a new root trace.
    • Entry points: new EntryPoint value object resolved via EntryPointResolver, replacing the loose entryPointClass arguments and array context passed to samplers.
    • Attribute providers: recorders now accept dedicated RequestAttributesProvider, ResponseAttributesProvider, RouteAttributesProvider, CommandAttributesProvider, JobAttributesProvider, and UserAttributesProvider contracts, replacing ad-hoc recorder arguments. See Attribute providers.
    • Lifecycle: new Lifecycle class on $flare->lifecycle that owns flushing, resets, and internal state previously exposed on Flare. See Application lifecycle.
    • Flare daemon bundled by default: DaemonSender ships with the client and routes errors, traces, and logs through the local Flare daemon, with curl fallback when it's unreachable.
    • Flare accessors are now properties: $flare->tracer, $flare->backTracer, $flare->sentReports, $flare->ids, $flare->time, $flare->lifecycle, $flare->logger, $flare->reporter are public readonly properties.
    • Removed: error solutions (collectSolutions(), withSolutionProvider(), AddSolutions middleware, the spatie/error-solutions dependency).
    • Removed: reportMessage(), includeStackTraceWithMessages(), MessageLevels enum, sendReportsImmediately(), Flare::reset(), $flare->application().
    • Renamed: collectLogs()collectLogsWithErrors(), ignoreLogs()ignoreLogsWithErrors(), Tracer::addRawSpan()addSpan().

    Full upgrade notes in UPGRADING.md.

    Open source →
  10. 3.0.0-rc.3 19 May 2026 pre-release
    Release notes

    What's Changed

    Full Changelog: 3.0.0-rc.2...3.0.0-rc.3

    Open source →
  11. 3.0.0-rc.2 07 May 2026 pre-release

    Nothing published for this version

  12. 3.0.0-rc.1 05 May 2026 pre-release

    Nothing published for this version

  13. 2.10.2 23 Feb 2026
    Release notes
    • Handle non-JSON API responses gracefully in senders

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.10.1...2.10.2

    Open source →
  14. 2.10.1 23 Feb 2026
    Release notes
    • fix deprecation warnings for PHP 8.5

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.10.0...2.10.1

    Open source →
  15. 2.10.0 12 Jan 2026
    Release notes
    • Add new FullStacktraceAndExceptionClassAndCode grouping override

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.9.0...2.10.0

    Open source →
  16. 2.9.0 08 Jan 2026
    Release notes
    • Allow censoring cookies and sessions
    Open source →
  17. 2.8.0 19 Dec 2025
    Release notes
    • Allow configuring the Request and Console attribute providers
    Open source →
  18. 2.7.0 11 Dec 2025
    Release notes

    What's Changed

    • Add exception code to report by @AlexVanderbist in https://github.com/spatie/flare-client-php/pull/60

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.6.0...2.7.0

    Open source →
  19. 2.6.0 28 Nov 2025
    Release notes

    What's Changed

    • send testtrace function for flare:test command by @Marcel-Wil in https://github.com/spatie/flare-client-php/pull/59

    New Contributors

    • @Marcel-Wil made their first contribution in https://github.com/spatie/flare-client-php/pull/59

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.5.3...2.6.0

    Open source →
  20. 2.5.3 26 Nov 2025
    Release notes

    What's Changed

    • Fix for composer format by @YasserB94 in https://github.com/spatie/flare-client-php/pull/57
    • Added Symfony 8 support to all symfony/* packages. by @thecaliskan in https://github.com/spatie/flare-client-php/pull/58

    New Contributors

    • @YasserB94 made their first contribution in https://github.com/spatie/flare-client-php/pull/57
    • @thecaliskan made their first contribution in https://github.com/spatie/flare-client-php/pull/58

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.5.2...2.5.3

    Open source →
  21. 2.5.2 18 Nov 2025
    Release notes
    • Allow body field censoring using dot and wildcard syntax
    • Fix an issue where the default of the git attribute provider was not provided
    Open source →
  22. 2.5.1 13 Nov 2025
    Release notes
    • Fix an issue where the disabled Flare infrastructure wasn't working propertly

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.5.0...2.5.1

    Open source →
  23. 2.5.0 07 Nov 2025
    Release notes
    • Add support for better trace context recording
    Open source →
  24. 2.4.0 06 Nov 2025
    Release notes
    • Update the Git Collector to be more performant
    Open source →
  25. 2.3.3 05 Nov 2025
    Release notes
    • Use local data to determine the telemetry sdk version
    Open source →
  26. 2.3.2 13 Oct 2025
    Release notes
    • Fix attribute key for span type in FilesystemRecorder.php
    Open source →
  27. 2.3.1 10 Oct 2025
    Release notes
    • Better handling of success codes in the Api
    Open source →
  28. 2.3.0 08 Oct 2025
    Release notes
    • Fixed an issue where disabled tracing could still trace
    • Completely refactored the recorders, the old traits are now deprecated in favour of specific classes for spans or span events
    • Fix an issue where attributes of spans & span events used in an error removed the span type
    Open source →
  29. 2.2.3 06 Oct 2025
    Release notes
    • Fix sampler
    Open source →
  30. 2.2.2 11 Sep 2025
    Release notes
    • Fix missing interface parameter

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.2.0...2.2.2

    Open source →
  31. 2.2.1 11 Sep 2025

    Nothing published for this version

  32. 2.2.0 11 Sep 2025
    Release notes

    What's Changed

    • Add additional methods to control custom context

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.1.0...2.2.0

    Open source →
  33. 2.1.0 27 Aug 2025
    Release notes
    • Add support for stacktraces with logs
    Open source →
  34. 2.0.9 25 Aug 2025
    Release notes
    • Laravel's artisan is now considered a vendor file in stacktraces
    • Statamic's please is now considered a vendor file in stacktraces

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.0.8...2.0.9

    Open source →
  35. 2.0.8 21 Aug 2025
    Release notes

    What's Changed

    • Fix issue where dns servers were contacted by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/44

    Full Changelog: https://github.com/spatie/flare-client-php/compare/2.0.7...2.0.8

    Open source →
  36. 2.0.7 17 Jul 2025
    Release notes
    • Add support for Curl Options
    Open source →
  37. 2.0.6 24 Jun 2025
    Release notes
    • Add support for disabled Flare
    Open source →
  38. 2.0.5 03 Jun 2025
    Release notes
    • Add base path to stacktrace builder
    Open source →
  39. 2.0.4 26 May 2025

    Nothing published for this version

  40. 2.0.3 21 May 2025
    Release notes
    • Use base URL const
    Open source →
  41. 2.0.2 21 May 2025
    Release notes
    • Use correct base url
    Open source →
  42. 2.0.1 21 May 2025
    Release notes
    • Routing changes
    Open source →
  43. 2.0.0 20 May 2025
    Release notes

    A complete rewrite of the package:

    • You can read our new docs on what has changed
    • There's an upgrade guide available
    Open source →
  44. 1.11.1 15 May 2026
    Release notes
    • Fixed: client now accepts HTTP status 201 as a successful response

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.11.0...1.11.1

    Open source →
  45. 1.11.0 17 Mar 2026
    Release notes

    What's Changed

    • Support Laravel 13 by @erikn69 in https://github.com/spatie/flare-client-php/pull/67

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.10.1...1.11.0

    Open source →
  46. 1.10.1 14 Feb 2025
    Release notes

    What's Changed

    • Supports Laravel 12 by @duncanmcclean in https://github.com/spatie/flare-client-php/pull/38

    New Contributors

    • @duncanmcclean made their first contribution in https://github.com/spatie/flare-client-php/pull/38

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.10.0...1.10.1

    Open source →
  47. 1.10.0 02 Dec 2024
    Release notes
    • Add support for overriding grouping
    Open source →
  48. 1.9.0 02 Dec 2024
    Release notes

    What's Changed

    • Fix PHP 8.4 deprecation errors by @Nationalcat in https://github.com/spatie/flare-client-php/pull/33
    • Fix implicitly nullable parameters for PHP 8.4 by @maximal in https://github.com/spatie/flare-client-php/pull/34

    New Contributors

    • @Nationalcat made their first contribution in https://github.com/spatie/flare-client-php/pull/33
    • @maximal made their first contribution in https://github.com/spatie/flare-client-php/pull/34

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.8.0...1.9.0

    Open source →
  49. 1.8.0 01 Aug 2024
    Release notes
    • Fix issues with symphony request payloads not behaving like they should.
    Open source →
  50. 1.7.0 12 Jun 2024
    Release notes

    What's Changed

    • Refactor solutions by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/30

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.6.0...1.7.0

    Open source →
  51. 1.6.0 22 May 2024
    Release notes

    What's Changed

    • Fix incorrect argument order when calling previous error handler by @RasmusStahl in https://github.com/spatie/flare-client-php/pull/28

    New Contributors

    • @RasmusStahl made their first contribution in https://github.com/spatie/flare-client-php/pull/28

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.5.1...1.6.0

    Open source →
  52. 1.5.1 03 May 2024
    Release notes

    What's Changed

    • Feature/configurable error levels by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/27

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.5.0...1.5.1

    Open source →
  53. 1.5.0 02 May 2024
    Release notes

    What's Changed

    • Add support for handling errors by @rubenvanassche in https://github.com/spatie/flare-client-php/pull/26

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.4.4...1.5.0

    Open source →
  54. 1.4.4 31 Jan 2024
    Release notes

    What's Changed

    • Drop Carbon dependency from composer.json by @jnoordsij in https://github.com/spatie/flare-client-php/pull/23

    New Contributors

    • @jnoordsij made their first contribution in https://github.com/spatie/flare-client-php/pull/23

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.4.3...1.4.4

    Open source →
  55. 1.4.3 17 Oct 2023
    Release notes

    What's Changed

    • [1.x] Tests against PHP 8.3 and adds Symfony 7 support by @nunomaduro in https://github.com/spatie/flare-client-php/pull/19

    New Contributors

    • @nunomaduro made their first contribution in https://github.com/spatie/flare-client-php/pull/19

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.4.2...1.4.3

    Open source →
  56. 1.4.2 28 Jul 2023
    Release notes
    • Loosen type for previous exception handler
    Open source →
  57. 1.4.1 06 Jul 2023
    Release notes
    • Add better support for error exceptions
    Open source →
  58. 1.4.0 28 Jun 2023
    Release notes
    • Add support for stack trace arguments
    Open source →
  59. 1.3.6 12 Apr 2023
    Release notes
    • recognise AI generated solutions
    Open source →
  60. 1.3.5 23 Jan 2023
    Release notes

    What's Changed

    • Update composer.json by @driesvints in https://github.com/spatie/flare-client-php/pull/3
    • Prepare for Laravel 10 by @freekmurze in https://github.com/spatie/flare-client-php/pull/13

    New Contributors

    • @driesvints made their first contribution in https://github.com/spatie/flare-client-php/pull/3

    Full Changelog: https://github.com/spatie/flare-client-php/compare/1.3.2...1.3.5

    Open source →

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