wiebekn/dawilog-php

client for dawilog
3,068
Install
composer require wiebekn/dawilog-php
Latest Version:v0.1.1
PHP:^8.0
License:MIT
Last Updated:Jul 19, 2026
Links: GitHub  ·  Packagist
Maintainer: kloostermanw

dawilog-php

install

composer require wiebekn/dawilog-php

add to .env

DAWILOG_DSN=

config/app.php

Dawilog\Laravel\ServiceProvider::class,

app/Exceptions/Handler.php (Laravel 8)

    public function register()
    {
        $this->reportable(function (Throwable $e) {
            if (app()->bound('dawilog') && $this->shouldReport($e)) {
                app('dawilog')->sendException($e);
            }
        });
    }

app/Exceptions/Handler.php (Laravel 7)

    public function report(Throwable $exception)
    {
        if (app()->bound('dawilog') && $this->shouldReport($exception)) {
            app('dawilog')->sendException($exception);
        }

        parent::report($exception);
    }

app/Exceptions/Handler.php (Laravel 5 & 6)

    public function report(Exception $exception)
    {
        if ($this->shouldReport($exception) && app()->bound('dawilog')) {
            app('dawilog')->sendException($exception);
        }
    
        parent::report($exception);
    }

config/dawilog.php

php artisan vendor:publish --provider="Dawilog\Laravel\ServiceProvider" --tag="config"

Related Packages

ytake/laravel-fluent-logger

fluent logger for laravel and lumen

558,805 62
libern/laravel-sql-logging

Laravel 5 package for logging SQL queries.

4,598 0