bekunika/debug-loggers

Laravel package for console route and SQL debug logging.

Maintainers

Package info

github.com/bekunika/debug-loggers

pkg:composer/bekunika/debug-loggers

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

v1.0.2 2026-04-03 14:02 UTC

This package is auto-updated.

Last update: 2026-04-03 14:07:04 UTC


README

Console route and SQL debug logging for Laravel applications.

Installation

composer require bekunika/debug-loggers

Laravel package discovery will register the service provider automatically.

Compatibility

  • PHP 8.2+
  • Laravel 11 or 12

Configuration

Publish the config if you want to override defaults:

php artisan vendor:publish --tag=debug-loggers-config

Available options:

return [
    'route' => [
        'enabled' => env('DEBUG_LOGGERS_ROUTE_ENABLED', false),
    ],
    'sql' => [
        'enabled' => env('DEBUG_LOGGERS_SQL_ENABLED', false),
    ],
];

Environment Variables

DEBUG_LOGGERS_ROUTE_ENABLED=true
DEBUG_LOGGERS_SQL_ENABLED=true

Testing

composer install
composer test

Release

  1. Push this package to its own public git repository.
  2. Create a git tag such as v1.0.0.
  3. Submit the repository URL on Packagist.
  4. Enable Packagist auto-updates for the repository.