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 2026Releases
latest 60 of 80-
3.3.122 Jul 2026Release notes
Open source →What's Changed
- Add support for Guzzle 8 by @GrahamCampbell in #86
New Contributors
- @GrahamCampbell made their first contribution in #86
Full Changelog: 3.3.0...3.3.1
Release notes
Open source →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
-
3.3.015 Jul 2026Release notes
Open source →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
Release notes
Open source →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
-
3.2.103 Jul 2026Release notes
Open source →What's Changed
- Add expectAttributeIf test helper by @rubenvanassche in #83
Full Changelog: 3.2.0...3.2.1
Release notes
Open source →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
-
3.2.003 Jul 2026Release notes
Open source →Release notes
Open source →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
-
3.1.202 Jul 2026Release notes
Open source →What's Changed
- Strip embedded credentials from git remote URL by @rubenvanassche in #81
Full Changelog: 3.1.1...3.1.2
Release notes
Open source →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
-
3.1.101 Jul 2026Release notes
Open source →What's Changed
- Fix previous throwable stacktrace using the wrong exception's frames by @rubenvanassche in #79
- Fix CI failures caused by Symfony 8 by @rubenvanassche in #80
Full Changelog: 3.1.0...3.1.1
Release notes
Open source →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
-
3.1.028 May 2026Release notes
Open source →What's Changed
- Attach trace and span id to error reports by @rubenvanassche in #77
- Tie trace ids to active lifetime, add Flare::start()/end() by @rubenvanassche in #78
Full Changelog: 3.0.1...3.1.0
Release notes
Open source →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
-
3.0.124 May 2026Release notes
Open source →Full Changelog: https://github.com/spatie/flare-client-php/compare/3.0.0...3.0.1
-
3.0.021 May 2026Release notes
Open source →Logs, logs, logs and more:
- Dedicated logging: new first-class logger on
$flare->log()that records messages in the OpenTelemetry log format, replacingreportMessage(). Log levels now use Monolog'sLevelenum. See Logs. - Dynamic sampling: new
DynamicSamplerwithSamplingRuledefinitions, 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 $parentSampledand can honor (or override) the inherited decision. - Job and queue recorders: first-class
JobRecorderandQueueRecorderas 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
EntryPointvalue object resolved viaEntryPointResolver, replacing the looseentryPointClassarguments and array context passed to samplers. - Attribute providers: recorders now accept dedicated
RequestAttributesProvider,ResponseAttributesProvider,RouteAttributesProvider,CommandAttributesProvider,JobAttributesProvider, andUserAttributesProvidercontracts, replacing ad-hoc recorder arguments. See Attribute providers. - Lifecycle: new
Lifecycleclass on$flare->lifecyclethat owns flushing, resets, and internal state previously exposed onFlare. See Application lifecycle. - Flare daemon bundled by default:
DaemonSenderships with the client and routes errors, traces, and logs through the local Flare daemon, with curl fallback when it's unreachable. Flareaccessors are now properties:$flare->tracer,$flare->backTracer,$flare->sentReports,$flare->ids,$flare->time,$flare->lifecycle,$flare->logger,$flare->reporterare public readonly properties.- Removed: error solutions (
collectSolutions(),withSolutionProvider(),AddSolutionsmiddleware, thespatie/error-solutionsdependency). - Removed:
reportMessage(),includeStackTraceWithMessages(),MessageLevelsenum,sendReportsImmediately(),Flare::reset(),$flare->application(). - Renamed:
collectLogs()→collectLogsWithErrors(),ignoreLogs()→ignoreLogsWithErrors(),Tracer::addRawSpan()→addSpan().
Full upgrade notes in UPGRADING.md.
Release notes
Open source →Logs, logs, logs and more:
- Dedicated logging: new first-class logger on
$flare->log()that records messages in the OpenTelemetry log format, replacingreportMessage(). Log levels now use Monolog'sLevelenum. See Logs. - Dynamic sampling: new
DynamicSamplerwithSamplingRuledefinitions, 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 $parentSampledand can honor (or override) the inherited decision. - Job and queue recorders: first-class
JobRecorderandQueueRecorderas 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
EntryPointvalue object resolved viaEntryPointResolver, replacing the looseentryPointClassarguments and array context passed to samplers. - Attribute providers: recorders now accept dedicated
RequestAttributesProvider,ResponseAttributesProvider,RouteAttributesProvider,CommandAttributesProvider,JobAttributesProvider, andUserAttributesProvidercontracts, replacing ad-hoc recorder arguments. See Attribute providers. - Lifecycle: new
Lifecycleclass on$flare->lifecyclethat owns flushing, resets, and internal state previously exposed onFlare. See Application lifecycle. - Flare daemon bundled by default:
DaemonSenderships with the client and routes errors, traces, and logs through the local Flare daemon, with curl fallback when it's unreachable. Flareaccessors are now properties:$flare->tracer,$flare->backTracer,$flare->sentReports,$flare->ids,$flare->time,$flare->lifecycle,$flare->logger,$flare->reporterare public readonly properties.- Removed: error solutions (
collectSolutions(),withSolutionProvider(),AddSolutionsmiddleware, thespatie/error-solutionsdependency). - Removed:
reportMessage(),includeStackTraceWithMessages(),MessageLevelsenum,sendReportsImmediately(),Flare::reset(),$flare->application(). - Renamed:
collectLogs()→collectLogsWithErrors(),ignoreLogs()→ignoreLogsWithErrors(),Tracer::addRawSpan()→addSpan().
Full upgrade notes in UPGRADING.md.
- Dedicated logging: new first-class logger on
-
3.0.0-rc.319 May 2026 pre-releaseRelease notes
Open source →What's Changed
- Make Tester extensible and framework-aware by @rubenvanassche in #72
Full Changelog: 3.0.0-rc.2...3.0.0-rc.3
-
3.0.0-rc.207 May 2026 pre-releaseNothing published for this version
-
3.0.0-rc.105 May 2026 pre-releaseNothing published for this version
-
2.10.223 Feb 2026Release notes
Open source →- Handle non-JSON API responses gracefully in senders
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.10.1...2.10.2
-
2.10.123 Feb 2026Release notes
Open source →- fix deprecation warnings for PHP 8.5
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.10.0...2.10.1
-
2.10.012 Jan 2026Release notes
Open source →- Add new
FullStacktraceAndExceptionClassAndCodegrouping override
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.9.0...2.10.0
- Add new
-
2.9.008 Jan 2026 -
2.8.019 Dec 2025 -
2.7.011 Dec 2025Release notes
Open source →What's Changed
- Add exception
codeto 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
- Add exception
-
2.6.028 Nov 2025Release notes
Open source →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
-
2.5.326 Nov 2025Release notes
Open source →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
-
2.5.218 Nov 2025Release notes
Open source →- Allow body field censoring using dot and wildcard syntax
- Fix an issue where the default of the git attribute provider was not provided
-
2.5.113 Nov 2025Release notes
Open source →- 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
-
2.5.007 Nov 2025 -
2.4.006 Nov 2025 -
2.3.305 Nov 2025 -
2.3.213 Oct 2025 -
2.3.110 Oct 2025 -
2.3.008 Oct 2025Release notes
Open source →- 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
-
2.2.306 Oct 2025 -
2.2.211 Sep 2025Release notes
Open source →- Fix missing interface parameter
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.2.0...2.2.2
-
2.2.111 Sep 2025Nothing published for this version
-
2.2.011 Sep 2025Release notes
Open source →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
-
2.1.027 Aug 2025 -
2.0.925 Aug 2025Release notes
Open source →- Laravel's
artisanis now considered a vendor file in stacktraces - Statamic's
pleaseis now considered a vendor file in stacktraces
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.0.8...2.0.9
- Laravel's
-
2.0.821 Aug 2025Release notes
Open source →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
-
2.0.717 Jul 2025 -
2.0.624 Jun 2025 -
2.0.503 Jun 2025 -
2.0.426 May 2025Nothing published for this version
-
2.0.321 May 2025 -
2.0.221 May 2025 -
2.0.121 May 2025 -
2.0.020 May 2025Release notes
Open source →A complete rewrite of the package:
- You can read our new docs on what has changed
- There's an upgrade guide available
-
1.11.115 May 2026Release notes
Open source →- 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
-
1.11.017 Mar 2026Release notes
Open source →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
-
1.10.114 Feb 2025Release notes
Open source →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
-
1.10.002 Dec 2024 -
1.9.002 Dec 2024Release notes
Open source →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
-
1.8.001 Aug 2024Release notes
Open source →- Fix issues with symphony request payloads not behaving like they should.
-
1.7.012 Jun 2024Release notes
Open source →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
-
1.6.022 May 2024Release notes
Open source →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
-
1.5.103 May 2024Release notes
Open source →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
-
1.5.002 May 2024Release notes
Open source →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
-
1.4.431 Jan 2024Release notes
Open source →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
-
1.4.317 Oct 2023Release notes
Open source →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
-
1.4.228 Jul 2023 -
1.4.106 Jul 2023 -
1.4.028 Jun 2023 -
1.3.612 Apr 2023 -
1.3.523 Jan 2023Release notes
Open source →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