Laravel Error and Log Tracking


Link to Github page: https://github.com/understand/understand-laravel

Quick start

  1. Add package to your project.
composer require understand/understand-laravel
  1. Add the ServiceProvider to the providers array in config/app.php
'Understand\UnderstandLaravel5\UnderstandLaravel5ServiceProvider'
  1. Set your input key in the env file (.env)
UNDERSTAND_ENABLED=true
UNDERSTAND_TOKEN=your-input-token-from-understand-io
  1. Send your first error
// anywhere inside your Laravel app
\Log::error('Understand.io test error');