Laravel client package for FizWatch error tracking
fizteqsolutions/fizwatch-laravel is a Laravel package for laravel client package for fizwatch error tracking.
It currently has 1 GitHub stars and 2.332 downloads on Packagist (latest version v1.4.0).
Install it with composer require fizteqsolutions/fizwatch-laravel.
Discover more Laravel packages by fizteqsolutions
or browse all Laravel packages to compare alternatives.
Last updated
Laravel client package for FizWatch error tracking. Captures exceptions and sends them to your FizWatch instance automatically.
Supports Laravel 8 through 13.
composer require fizteqsolutions/fizwatch-laravel
The service provider is auto-discovered — no manual registration needed.
Add these two variables to your .env file:
FIZWATCH_URL=https://your-fizwatch-instance.com
FIZWATCH_KEY=fiz_your_project_api_key
Both are required. If either is missing, the package does nothing — no HTTP calls, no logs, no interference with your application.
php artisan vendor:publish --tag=fizwatch-config
This publishes config/fizwatch.php where you can customize:
timeout — HTTP timeout in seconds (default: 5)sensitive_fields — Request body/query fields replaced with [Filtered] before sending (default: _token, password, password_confirmation, credit_card, ssn, secret)sensitive_headers — HTTP headers replaced with [Filtered] (default: authorization, cookie, set-cookie)ignored_exceptions — Exception classes that should not be reported to FizWatch (default: none)If certain exceptions are too noisy (e.g., OAuth errors from mobile apps), you can ignore them entirely. First publish the config, then add exception classes to the ignored_exceptions array:
// config/fizwatch.php
'ignored_exceptions' => [
\League\OAuth2\Server\Exception\OAuthServerException::class,
\Symfony\Component\HttpKernel\Exception\NotFoundHttpException::class,
],
Uses instanceof matching — adding a parent class also ignores all of its subclasses.
php artisan fizwatch:test
This sends a test exception to your FizWatch instance. You should see it appear on your dashboard immediately.
The package hooks into Laravel's exception handler via reportable(). When an exception occurs:
FIZWATCH_URL or FIZWATCH_KEY is not set — does nothingNormal Laravel error logging is never affected. The package works alongside other error tracking tools (like Sentry) without conflict.
Each error report includes: