PHPackages                             abhishekkrhaith11/dblog - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Logging &amp; Monitoring](/categories/logging)
4. /
5. abhishekkrhaith11/dblog

AbandonedArchivedLibrary[Logging &amp; Monitoring](/categories/logging)

abhishekkrhaith11/dblog
=======================

:description

v1.0.4(7y ago)019MITPHP

Since Jun 25Pushed 7y ago1 watchersCompare

[ Source](https://github.com/abhishekKrHaith11/dblog)[ Packagist](https://packagist.org/packages/abhishekkrhaith11/dblog)[ Docs](https://github.com/abhishekkrhaith11/dblog)[ RSS](/packages/abhishekkrhaith11-dblog/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (4)Versions (6)Used By (0)

dblog
=====

[](#dblog)

[![Latest Stable Version](https://camo.githubusercontent.com/e7d1e6b10ca79bdbb077b2723c411728d2f6efcc95e224c8e230d52a0f904f52/68747470733a2f2f706f7365722e707567782e6f72672f616268697368656b6b72686169746831312f64626c6f672f76657273696f6e)](https://packagist.org/packages/abhishekkrhaith11/dblog)[![Total Downloads](https://camo.githubusercontent.com/1ccf75cd558587c1533544b63cdd4c191433e9cef20a192735bb73f21ad226fb/68747470733a2f2f706f7365722e707567782e6f72672f616268697368656b6b72686169746831312f64626c6f672f646f776e6c6f616473)](https://packagist.org/packages/abhishekkrhaith11/dblog)[![Latest Unstable Version](https://camo.githubusercontent.com/14a883249f612295f012df0299efa95f3ac3e984229a3e432b07db09e351c9cd/68747470733a2f2f706f7365722e707567782e6f72672f616268697368656b6b72686169746831312f64626c6f672f762f756e737461626c65)](//packagist.org/packages/abhishekkrhaith11/dblog)[![License](https://camo.githubusercontent.com/f4f9ff97f2c88022c49ef0480502a04589399ee257c6146c542f4cb7fcb9e92d/68747470733a2f2f706f7365722e707567782e6f72672f616268697368656b6b72686169746831312f64626c6f672f6c6963656e7365)](https://packagist.org/packages/abhishekkrhaith11/dblog)

This package will help to keep log in database with type for Laravel applications.

Installation
------------

[](#installation)

Via Composer

```
$ composer require abhishekkrhaith11/dblog
```

Usage
-----

[](#usage)

After installation you need to add the following line to config/app.php -

```
'providers' => [
	/*
     * Package Service Providers...
     */
    Abhishekkrhaith11\Dblog\DblogServiceProvider::class,
]

```

If you want to use alias add the following -

```
'aliases' => [
	/*
     * Package Facades...
     */
    'Dblog' => Abhishekkrhaith11\Dblog\Facades\Dblog::class,
]

```

After setup you need migrate the database using

```
$ php artisan migrate
```

You can change the database table name before migration. For that you have to publish configs. use -

```
$ php artisan vendor:publish --provider=Abhishekkrhaith11\Dblog\DblogServiceProvider
```

Documentation
-------------

[](#documentation)

Available log methods -

```
Dblog::emergency(string $msg);
Dblog::alert(string $msg);
Dblog::critical(string $msg);
Dblog::error(string $msg);
Dblog::warning(string $msg);
Dblog::notice(string $msg);
Dblog::info(string $msg);
Dblog::debug(string $msg);

```

To retrive logs use -

```
Dblog::logs(string $type);

```

This will return a array of all logs found in log table. Each log will contain log type, message and log time.

Support
-------

[](#support)

If you found any issues you can report in github issues.

License
-------

[](#license)

MIT. Please see the [license file](license.md) for more information.

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity66

Established project with proven stability

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Every ~1 days

Total

4

Last Release

2873d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/16f7bd79ef0434a4a7eacc9cec6d612de07fec5f1b49eba707e54cf5a329497b?d=identicon)[abhishekKrHaith11](/maintainers/abhishekKrHaith11)

---

Top Contributors

[![abhishekKrHaith11](https://avatars.githubusercontent.com/u/37548282?v=4)](https://github.com/abhishekKrHaith11 "abhishekKrHaith11 (9 commits)")

---

Tags

laraveldblog

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/abhishekkrhaith11-dblog/health.svg)

```
[![Health](https://phpackages.com/badges/abhishekkrhaith11-dblog/health.svg)](https://phpackages.com/packages/abhishekkrhaith11-dblog)
```

###  Alternatives

[spatie/laravel-activitylog

A very simple activity logger to monitor the users of your website or application

5.8k45.4M309](/packages/spatie-laravel-activitylog)[spatie/laravel-health

Monitor the health of a Laravel application

85810.0M83](/packages/spatie-laravel-health)[yadahan/laravel-authentication-log

Laravel Authentication Log provides authentication logger and notification for Laravel.

416632.8k5](/packages/yadahan-laravel-authentication-log)[masterro/laravel-mail-viewer

Easily view in browser outgoing emails.

6392.1k](/packages/masterro-laravel-mail-viewer)[shaffe/laravel-mail-log-channel

A package to support logging via email in Laravel

1286.2k](/packages/shaffe-laravel-mail-log-channel)[hryha/laravel-request-logger

A Laravel package to log requests and responses

102.2k](/packages/hryha-laravel-request-logger)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
