Flare Error tracking made for Laravel
Features Pricing Docs Log in Start free trial
  • Docs
  • Videos

Documentation

  • General

    • Welcome
    • Projects
    • Errors
    • Error occurrences
    • Sharing error occurrences
    • Spike protection
  • Ignition for Laravel

    • Installation
    • Configuration
    • Controlling collected data
    • Sending logs to Flare
    • Sharing errors
    • Identifying users
    • Adding custom context
    • Adding glows
    • Writing custom middleware
    • Adding custom tabs
    • First party extensions
    • Third party extensions
  • Flare for generic PHP projects

    • Installation
    • Controlling collected data
    • Identifying users
    • Adding custom context
    • Adding glows
    • Writing custom middleware
  • Javascript error tracking

    • Installation
    • Framework integrations
    • Adding custom context
    • Adding glows
    • Solution Providers
    • Resolving Bundled Code
  • Solutions

    • Introduction
    • Adding custom solutions
    • Making solutions runnable
    • Using solution providers
    • Writing good solutions
  • Notifications

    • Configuring notifications
    • Mail
    • Slack
    • SMS
    • Webhooks
  • Team management

    • Using multiple teams
    • Subscribing to a plan
    • Receiving invoices
    • Managing team members
    • Inviting guests to projects

Identifying users

When reporting an error to Flare, you can tell the Flare client, what information you have about the currently authenticated user. You can do this by providing a user group that holds all the information you want to share.

$user = YourAuthenticatedUserInstance();

$flare->group('user', [
	'email' => $user->email,
	'name' => $user->name,
	'additional_information' => $user->additional,
]);
Previous topic Next topic

About Flare

  • Home
  • Features
  • Pricing
  • Support

Resources

  • Blog
  • Docs
  • Ignition
  • Videos

App

  • Log in
  • Start free trial
SPATIE
  • Service status
  • Terms of use
  • Privacy & cookie policy