Changelog
All notable changes to laravel-supabase-logger
will be documented in this file.
The format is based on Keep a Changelog,
and this project adheres to Semantic Versioning.
[1.0.0] - 2025-07-29
Added
- Initial release of Laravel Supabase Logger
- Core logging functionality with Supabase integration
- Log deduplication using MD5 hashing
- Occurrence tracking for duplicate logs
- Smart auto-tagging based on context, routes, users, and exceptions
- Batch processing for optimized API usage
- Fallback logging to local files when Supabase is unavailable
- Comprehensive error handling and retry logic
- Management Artisan commands:
supabase-logger:test
- Test connection and configurationsupabase-logger:tail
- View recent logssupabase-logger:flush
- Force flush pending logs
- Eloquent model for interacting with logs
- Configurable sensitive data sanitization
- Support for Laravel 10.x, 11.x, and 12.x
- Comprehensive documentation and setup instructions
- Production-ready performance optimizations
Features
- Log Deduplication: Automatically groups identical log messages
- Occurrence Tracking: Counts how many times each unique log has occurred
- Smart Auto-Tagging: Automatically tags logs based on routes, users, exceptions, and context
- Batch Processing: Efficiently processes logs in configurable batches
- Fallback Logging: Graceful error handling with automatic fallback to local file logging
- High Performance: Built with performance in mind using efficient HTTP client with retry logic
- Management Commands: Artisan commands for testing, flushing, and tailing logs
- Security: Configurable sensitive data sanitization
- Production Ready: Robust error handling and comprehensive logging
Configuration
- Extensive configuration options in
config/supabase-logger.php
- Environment variable support for all major settings
- Configurable batch sizes, retry attempts, and timeouts
- Auto-tagging preferences
- Security and sanitization settings
- Fallback logging configuration
Requirements
- PHP 8.2 or higher
- Laravel 10.x, 11.x, or 12.x
- Supabase project with PostgreSQL database
- Guzzle HTTP 7.0+
- Monolog 3.0+
Documentation
- Comprehensive README with installation and usage instructions
- Database schema and setup instructions
- Configuration examples and best practices
- Troubleshooting guide
- API documentation for all classes and methods