Download the PHP package kholil/nitik without Composer
On this page you can find all versions of the php package kholil/nitik. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Package nitik
Short Description A Laravel package to track and aggregate application errors via custom log driver, with Filament dashboard.
License MIT
Homepage https://github.com/amdkholil/nitik
Informations about the package nitik
Nitik
Nitik is a robust error tracking package for Laravel and Filament. It aggregates unique errors into a database and provides a sleek dashboard to manage them.
Features
- Unique Error Aggregation: Combines similar errors into a single record with a count of occurrences.
- Smart Stack Trace: Captures and filters stack traces for better readability, skipping internal baggage.
- Filament Integration: Comes with a ready-to-use Filament resource to monitor and manage errors.
- Infinite Loop Protection: Prevents recursive logging loops if the database or driver fails.
Requirements
- PHP:
^8.1 - Laravel:
^10.0 | ^11.0 | ^12.0 - Filament:
^4.0 | ^5.0
Installation
Configuration
1. Publish Config and Migrations
2. Add Log Channel
Add the nitik channel to your config/logging.php:
3. Register Filament Plugin
Add the NitikPlugin to your Filament Panel Provider:
Artisan Commands
Clean up your error records periodically using these commands:
Clear Resolved Errors
Hapus semua error yang sudah ditandai sebagai 'Resolved'.
Prune Old Errors
Hapus error lama berdasarkan jumlah hari (default: 30 hari).
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).
License
The MIT License (MIT). Please see License File for more information.
All versions of nitik with dependencies
spatie/laravel-package-tools Version ^1.16
laravel/framework Version ^10.0|^11.0|^12.0|^13.0
filament/filament Version ^4.0|^5.0