kaspernj / peak_flow_php
PeakFlow integration for PHP
Installs: 85
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
pkg:composer/kaspernj/peak_flow_php
Requires (Dev)
- phpunit/phpunit: ^7
This package is not auto-updated.
Last update: 2026-01-10 21:19:45 UTC
README
PeakFlow error reporting for PHP.
Installation
Add something like this to your composer.json:
{
"require": {
"kaspernj/peak_flow_php": "1.0.2"
}
}
Laravel
In app/Exceptions/Handler.php add something like this in the report-method:
class Handler extends ExceptionHandler { public function report(Exception $exception) { $reporter = new \PeakFlow\Reporter(array("authToken" => "your-token")); $reporter->reportException($exception); parent::report($exception); } }