This package is abandoned and no longer maintained. No replacement package was suggested.

A Laravel package, helps to log into database and send email alerts

v0.2 2016-04-01 11:50 UTC

This package is auto-updated.

Last update: 2019-10-30 21:57:33 UTC


I've decided to put Gui and library into a standalone package. This will be helpful for development and testing.

A Log Handler for Monolog and Laravel PHP Framework


Add the following to your composer.json and run composer update

    "require": {
        "gazatem/dblogger": "dev-master"

Don't forget to dump composer autoload

composer dump-autoload

Open your config/app.php add following line in the providers array


Then in your bootstrap/app.php add / update your Monolog configiuration.

$app->configureMonologUsing(function ($monolog) {
    $monolog->pushHandler(new \Gazatem\DBLogger\DBLogger());

Run following command to publish migration and configuration

 php artisan vendor:publish
 php artisan migrate

Open config/dblogger.php file and update the settings.


Do not fotget to include Log to your class

use Log;

And add log entry

Log('user.register', ['id' => 23, 'name' => 'John Doe', 'email' => '']);