Nitik - Error Tracker & Notif by kholil
CommunityNitik is a Filament plugin for error tracking — it captures and aggregates unique errors into a database, displays them via a Filament dashboard, complete with smart stack trace filtering, infinite loop protection, and two Artisan commands to clean up old or resolved errors. Compatible with Laravel v11 or higher and Filament v4 or higher.
Author:
kholil
Package health
Automated checks of this plugin's Composer package
15 checks
- Skipped: GitHub Actions pinned to SHA
- Skipped: GitLab CI includes pinned to SHA
- Passed: Open security advisories
- Passed: Dependabot PR responsiveness — No open Dependabot PRs.
- Skipped: Renovate MR responsiveness
- Skipped: Dependabot or Renovate configured
- Skipped: Dependency update cooldown configured
- Passed: Provides a security policy
- Passed: Abandoned or archived — No consulted source marks the package abandoned (packagist, github).
- Passed: Commit and release recency — Active: last commit 0 days ago; last release 68 days ago.
-
Passed:
composer.lock not committed by library
—
composer.lockis absent from the released dist archive. - Passed: Dist archive is lean
-
Passed:
Current Laravel version supported
—
Package dependencies resolve together with current Laravel
13.0. -
Passed:
Current PHP version supported
—
Constraint
^8.1supports current PHP8.5. - Skipped: Current Symfony version supported
filament/
namespace. Review the source and install at your own risk. Found
malware or an unresolved security issue the author won't
address?
Report it
.
Documentation
- Features
- Requirements
- Installation
- Configuration
- Artisan Commands
- Configuration Options
- Changelog
- Security
- License

Nitik is a robust error tracking package for Laravel and Filament. It aggregates unique errors into a database, provides a sleek dashboard to manage them, and delivers instant notification alerts (Email & Discord).
#Features
- Unique Error Aggregation: Combines similar errors into a single record with a count of occurrences.
- Sensitive Data Scrubbing: Automatically scrubs sensitive parameters (passwords, tokens, keys) from log messages and stack traces.
- Smart Stack Trace: Captures and filters stack traces for better readability, skipping internal baggage.
- Filament Integration: Ready-to-use Filament v4 & v5 resource page to monitor, filter, and manage errors.
- Bulk Actions: Mark multiple errors as resolved/unresolved or delete them in bulk with auto-closing dropdowns.
- Notification Channels: Instant alerts via Email and Discord Webhooks on error occurrences.
- Infinite Loop Protection: Prevents recursive logging loops if the database or notification delivery fails.
#Requirements
- PHP:
^8.1 - Laravel:
^10.0 | ^11.0 | ^12.0 | ^13.0 - Filament:
^4.0 | ^5.0
#Installation
composer require kholil/nitik
php artisan migrate
#Configuration
#1. Publish Config and Migrations
php artisan vendor:publish --tag=nitik
#2. Add Log Channel
Add the nitik channel to your config/logging.php:
'channels' => [
'stack' => [
'driver' => 'stack',
'channels' => ['single', 'nitik'],
'ignore_exceptions' => false,
],
'nitik' => [
'driver' => 'nitik',
'level' => 'debug',
],
// ...
],
#3. Configure Notification Channels
Add notification variables to your .env file:
NITIK_NOTIFICATIONS_ENABLED=true
NITIK_NOTIFY_ONLY_FIRST_OCCURRENCE=true
# Email Notification
NITIK_MAIL_NOTIFICATION_ENABLED=true
[email protected]
# Discord Webhook Notification
NITIK_DISCORD_NOTIFICATION_ENABLED=true
NITIK_DISCORD_WEBHOOK_URL=https://discord.com/api/webhooks/...
#4. Register Filament Plugin
Add the NitikPlugin to your Filament Panel Provider:
use Kholil\Nitik\NitikPlugin;
public function panel(Panel $panel): Panel
{
return $panel
// ...
->plugins([
NitikPlugin::make(),
]);
}
#Artisan Commands
Clean up your error records periodically using these commands:
#Clear Resolved Errors
Hapus semua error yang sudah ditandai sebagai 'Resolved'.
php artisan nitik:clear-resolved
#Prune Old Errors
Hapus error lama berdasarkan jumlah hari (default: 30 hari).
php artisan nitik:prune --days=30
#Configuration Options
Edit config/nitik.php to customize behavior:
log_levels: Array of levels (e.g.,error,critical) to capture.ignore_exceptions: List of exception classes to skip (e.g.,NotFoundHttpException).navigation_group: Label for Filament navigation grouping (default:null).notifications: Configure Email & Discord channels, enabled status, and recipient settings.
#Changelog
Please see CHANGELOG.md for more information on what has changed recently.
#Security
Please see SECURITY.md for reporting security vulnerabilities.
#License
The MIT License (MIT). Please see License File for more information.
The author
Fullstack developer
Laravel | Flutter | Django | Linux
From the same author
Featured Plugins
A selection of plugins curated by the Filament team
Compact Theme
A theme that makes data-heavy panels easier to scan by fitting more useful information on each screen.
Filament
Sharp Theme
A theme that gives panels a precise, technical look with square corners, strong borders, and clear contrast.
Filament
Custom Fields
Eliminate custom field migrations forever. Let your users create and manage form fields directly in Filament admin panels with 20+ built-in field types, validation, and zero database changes.
Relaticle