Download the PHP package arseno25/exception-logger without Composer
On this page you can find all versions of the php package arseno25/exception-logger. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download arseno25/exception-logger
More information about arseno25/exception-logger
Files in arseno25/exception-logger
Package exception-logger
Short Description This is my package exception-logger
License MIT
Homepage https://github.com/arseno25/exception-logger
Informations about the package exception-logger
Exception Logger for Laravel Filament
Log your Laravel exceptions into a database and manage them from a beautiful Filament admin interface.
✨ Features
- Database Exception Logging - Automatically logs all exceptions with full context
- Critical Detection - Intelligent classification of critical exceptions
- Multi-Channel Notifications - Send alerts via Telegram, Slack, Discord, or Email
- Filament Admin Interface - Complete exception management with dashboard widget
- AI-Powered Analysis - Optional AI solution analysis for error resolution
- Team Collaboration - Comment system with user mentions
- Automatic Pruning - Configurable log retention policies
📋 Requirements
- PHP 8.2+
- Laravel 11.0+ or 12.0+
- Filament 4.0+
🚀 Installation
1. Install the package
2. Publish and run migrations
3. Publish configuration
4. Configure logging channel
Add to config/logging.php:
Add to your default stack:
5. Add to Filament panel
Register in app/Providers/Filament/AdminPanelProvider.php:
This will automatically register:
- Exception Logs resource page for managing exceptions
- Exception Stats Overview widget showing 7-day error trends
6. Access Exception Management
After installation:
- Navigate to Exception Logs in your Filament admin panel
- View the Exception Stats Overview widget on your dashboard
- Configure widget permissions and visibility as needed
🚨 Critical Exception Detection
Automatically detects critical exceptions based on:
- Exception classes - QueryException, PDOException, HttpException, etc.
- Message keywords - database, connection, timeout, memory, fatal, etc.
- HTTP status codes - 5xx errors
Configure in config/exception-logger.php:
📢 Notifications
Configure notifications in config/exception-logger.php:
Telegram
Slack
Discord
🤖 AI Solution Analysis
Optional AI-powered error analysis:
📊 Custom Widget Usage
Adding Widget to Custom Dashboard
If you want to add the exception stats widget to a specific Filament dashboard:
Creating Custom Exception Widget
You can extend the base widget for custom functionality:
🗂️ Log Pruning
Configure automatic log cleanup:
Schedule pruning in app/Console/Kernel.php:
💻 Usage in Filament
Once installed:
- Exception Logs Page: Navigate to Exception Logs in your Filament panel to manage all exceptions
- Dashboard Widget: View real-time exception trends in the Exception Stats Overview widget
- Exception Management: Update exception status (New, In Progress, Resolved, Ignored)
- AI Analysis: Use "Ask AI Solution" for intelligent error analysis
- Collaboration: Add comments and mention team members for collaboration
- Custom Widgets: Create custom exception widgets for specific dashboards (see examples above)
🤝 Contributing
We welcome contributions from the community! Whether you're fixing bugs, adding features, or improving documentation, your help is appreciated.
Development Setup
1. Fork and Clone
2. Install Dependencies
3. Environment Setup
4. Run Tests
👨💻 Credits
Lead Developer
- Arseno25 - Creator and maintainer
Core Contributors
Thanks to everyone who has contributed to making this package better:
Inspiration & References
- Laravel Framework - For the excellent ecosystem and conventions
- Filament - For the amazing admin panel framework
- Monolog - For the powerful logging abstraction
- OpenAI - For the AI capabilities that power intelligent analysis
📄 License
The MIT License (MIT). Please see the License File for more information.
All versions of exception-logger with dependencies
filament/filament Version ~4.0
flowframe/laravel-trend Version ^0.4.0
illuminate/contracts Version ^11.0||^12.0
novadaemon/filament-pretty-json Version 3.0
spatie/laravel-package-tools Version ^1.16