Flare by Spatie
  • Features
  • Pricing
  • Docs
  • Blog
  • LOG IN
  • START TRACKING
  • Home
  • Features
  • Pricing
  • Docs
  • Blog
    • Try Flare for free
    • Sign in
Flare Flare Laravel Laravel PHP PHP JavaScript JavaScript
  • General
  • Introduction
  • Installation
  • Censoring collected data
  • Ignoring collected data
  • Errors
  • Adding custom context
  • Customising error grouping
  • Handling errors
  • Linking to errors
  • Reporting errors
  • Performance
  • Introduction
  • Sampling
  • Limits
  • Modify spans and events
  • Data Collection
  • Application info
  • Application lifecycle
  • Cache events
  • Console commands
  • Customise error report
  • Database transactions
  • Dumps
  • Errors when tracing
  • Exception context
  • External http requests
  • Filesystem operations
  • Git information
  • Glows
  • Identifying users
  • Logs
  • Queries
  • Redis commands
  • Requests
  • Routing
  • Server info
  • Solutions
  • Spans
  • Stacktrace arguments
  • Views
  • Older Packages
  • Flare Client PHP V1

Application info

Application Name

You can configure Flare to add the name of your application to all sent exceptions and traces:

$config->applicationName("Flare");

It is also possible to use a closure to set the name number:

$config->applicationName(function() {
   return 'Flare';
});

Application Version

You can configure Flare to add a version number to all sent exceptions and traces:

$config->applicationVersion("1.0");

It is also possible to use a closure to set the version number:

$config->applicationVersion(function() {
   return '1.0' ; // return your version number
});

Application stage

You can configure Flare to add a stage(production, development, staging, ...) to all sent exceptions and traces:

$config->applicationStage("staging");
$config->applicationStage(function() {
   return 'staging';
});
Modify spans and events Application lifecycle
  • On this page
  • Application Name
  • Application Version
  • Application stage

Monitor your web apps and sites from errors to slowdowns with Flare, the easiest application monitoring platform for Laravel, PHP & Javascript.

  • Platform
  • Error Tracking
  • Performance Monitoring
  • Pricing
  • Support
  • Resources
  • Blog
  • Changelog
  • Documentation
  • Affiliate program
  • Service status
  • Terms of use
  • DPA
  • Privacy & Cookie Policy
Flare