onamfc/laravel-devlogger
Laravel database logger with automatic exception catching and rich metadata. Tag and filter logs by level, date, queue, status, request context, and user. Includes configurable retention/cleanup, fallback channels, and flexible env-based setup.
This release focuses on improving the installation and setup experience for the Laravel DevLogger package, specifically addressing issues with publishing configuration and migrations.
Fix incorrect path resolution for Packagist installs
Bump version for packagist
Update the path reference to the config and migration files
Resolved PHP 8.3 deprecation warning: Updated method signature of markAsClosed() in DeveloperLog model to explicitly declare $userId as a nullable integer (?int $userId = null). This change prevents the deprecation notice: "Implicitly marking parameter $userId as nullable is deprecated", which occurs in PHP 8.3 and later.
Update readme file for Laravel 12 support
The fix uses conditional logic to handle both cases:
This approach avoids trying to assign the facade to a variable, which isn't supported in PHP, and ensures compatibility with Laravel 12's stricter requirements.
Addresses the issue with Laravel 12 has chaning the Schema::connection() method to require a connection name parameter, whereas in previous versions it could be called without arguments to use the default connection.
bump version to sync with packagist
The updated package will still work with Laravel 9, 10, and 11 while being ready for Laravel 12. The changes use patterns that are available across all supported versions.
How can I help you explore Laravel packages today?