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/3.0.0-rc.2...3.0.0-rc.3
Full Changelog: https://github.com/spatie/flare-client-php/compare/1.11.0...1.11.1
flare-daemon as default dependencyFull Changelog: https://github.com/spatie/flare-client-php/compare/3.0.0-rc.1...3.0.0-rc.2
RC for the new Flare package, don't use this in production!
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.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
How can I help you explore Laravel packages today?