spatie/flare-client-php
PHP 8.2+ client for sending exceptions, errors, and stack traces to Flare. Install via Composer and use in any PHP app; Laravel users should use spatie/laravel-flare. Includes docs, tests, and ongoing maintenance by Spatie.
Full Changelog: https://github.com/spatie/flare-client-php/compare/3.0.1...3.1.0
Full Changelog: https://github.com/spatie/flare-client-php/compare/3.0.0...3.0.1
Logs, logs, logs and more:
$flare->log() that records messages in the OpenTelemetry log format, replacing reportMessage(). Log levels now use Monolog's Level enum. See Logs.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.?bool $parentSampled and can honor (or override) the inherited decision.JobRecorder and QueueRecorder as part of the standard recorder pipeline. See Jobs and queues.EntryPoint value object resolved via EntryPointResolver, replacing the loose entryPointClass arguments and array context passed to samplers.RequestAttributesProvider, ResponseAttributesProvider, RouteAttributesProvider, CommandAttributesProvider, JobAttributesProvider, and UserAttributesProvider contracts, replacing ad-hoc recorder arguments. See Attribute providers.Lifecycle class on $flare->lifecycle that owns flushing, resets, and internal state previously exposed on Flare. See Application lifecycle.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.collectSolutions(), withSolutionProvider(), AddSolutions middleware, the spatie/error-solutions dependency).reportMessage(), includeStackTraceWithMessages(), MessageLevels enum, sendReportsImmediately(), Flare::reset(), $flare->application().collectLogs() → collectLogsWithErrors(), ignoreLogs() → ignoreLogsWithErrors(), Tracer::addRawSpan() → addSpan().Full upgrade notes in UPGRADING.md.
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.11.0...1.11.1
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.10.1...1.11.0
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.10.1...2.10.2
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.10.0...2.10.1
FullStacktraceAndExceptionClassAndCode grouping overrideFull Changelog: https://github.com/spatie/flare-client-php/compare/2.9.0...2.10.0
code to report by @AlexVanderbist in https://github.com/spatie/flare-client-php/pull/60Full Changelog: https://github.com/spatie/flare-client-php/compare/2.6.0...2.7.0
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.5.3...2.6.0
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.5.2...2.5.3
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.5.0...2.5.1
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.2.0...2.2.2
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.1.0...2.2.0
artisan is now considered a vendor file in stacktracesplease is now considered a vendor file in stacktracesFull Changelog: https://github.com/spatie/flare-client-php/compare/2.0.8...2.0.9
Full Changelog: https://github.com/spatie/flare-client-php/compare/2.0.7...2.0.8
A complete rewrite of the package:
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.10.0...1.10.1
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.8.0...1.9.0
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.6.0...1.7.0
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.5.1...1.6.0
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.5.0...1.5.1
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.4.4...1.5.0
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.4.3...1.4.4
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.4.2...1.4.3
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.3.2...1.3.5
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.3.2...1.3.3
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.3.1...1.3.2
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.3.0...1.3.1
reportErrorLevels to be 0 by @Jellyfrog in https://github.com/spatie/flare-client-php/pull/9Full Changelog: https://github.com/spatie/flare-client-php/compare/1.2.0...1.3.0
php_version as default env contextFull Changelog: https://github.com/spatie/flare-client-php/compare/1.1.1...1.2.0
Report instance to report() to FlareFull Changelog: https://github.com/spatie/flare-client-php/compare/1.0.5...1.1.0
stage is nullFull Changelog: https://github.com/spatie/flare-client-php/compare/1.0.4...1.0.5
arguments from stacktrace frames (unused in UI and causing issues, see https://github.com/spatie/ignition/issues/48)Full Changelog: https://github.com/spatie/flare-client-php/compare/1.0.2...1.0.3
How can I help you explore Laravel packages today?