PHPackages                             cracki/dogger - 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. [Database &amp; ORM](/categories/database)
4. /
5. cracki/dogger

ActiveLibrary[Database &amp; ORM](/categories/database)

cracki/dogger
=============

Log for http request and response

v0.5(5y ago)449MITBlade

Since Nov 19Pushed 2y ago1 watchersCompare

[ Source](https://github.com/nladev/dogger)[ Packagist](https://packagist.org/packages/cracki/dogger)[ RSS](/packages/cracki-dogger/feed)WikiDiscussions master Synced 1w ago

READMEChangelog (5)DependenciesVersions (8)Used By (0)

Dogger
======

[](#dogger)

### Log api request &amp; response by using Database

[](#log-api-request--response-by-using-database)

This package may help you to log api request,response,duration,method,ip,http status and retireved classes (controller,model,etc...) in database.

### Installation

[](#installation)

1. Install the package via composer

```
composer require cracki/dogger

```

2. Publish the config file

```
php artisan vendor:publish --tag=config --provider="Cracki\Dogger\DoggerServiceProvider"

```

3. Migrate Table

```
php artisan migrate

```

### Usage

[](#usage)

```
//in api.php or web.php
Route::group([
    'middleware'=> 'dogger'
], function () {
    ...
    //Your routes is here.
    ...
});
```

### Custom Error

[](#custom-error)

```
//response json as follow
{
    'result' : 'error', // (or 'success' accepted only 2 enum)
    ...
}
```

### Logs View

[](#logs-view)

[![screenshot](screenshot.png)](screenshot.png)

### Routes List

[](#routes-list)

routemethoddescription/doggergetview logs/dogger/deletepostclear logs/dogger/api/get-allgetget logs with json/dogger/api/delete-allpostdelete allLicense
-------

[](#license)

Licensed under [The MIT License (MIT)](LICENSE).

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity12

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity48

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 55.6% 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 ~196 days

Recently: every ~245 days

Total

6

Last Release

1023d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/4399411?v=4)[naylinaung](/maintainers/naylinaung)[@naylinaung](https://github.com/naylinaung)

---

Top Contributors

[![devnla](https://avatars.githubusercontent.com/u/135270143?v=4)](https://github.com/devnla "devnla (15 commits)")[![nladev](https://avatars.githubusercontent.com/u/17635293?v=4)](https://github.com/nladev "nladev (12 commits)")

---

Tags

api-loggerdatabasehttp-loggerlaravelloglogger

### Embed Badge

![Health badge](/badges/cracki-dogger/health.svg)

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

###  Alternatives

[doctrine/orm

Object-Relational-Mapper for PHP

10.2k285.3M6.2k](/packages/doctrine-orm)[jdorn/sql-formatter

a PHP SQL highlighting library

3.9k115.1M102](/packages/jdorn-sql-formatter)[illuminate/database

The Illuminate Database package.

2.8k52.4M9.4k](/packages/illuminate-database)[mongodb/mongodb

MongoDB driver library

1.6k64.0M546](/packages/mongodb-mongodb)[ramsey/uuid-doctrine

Use ramsey/uuid as a Doctrine field type.

90340.3M211](/packages/ramsey-uuid-doctrine)[reliese/laravel

Reliese Components for Laravel Framework code generation.

1.7k3.4M16](/packages/reliese-laravel)

PHPackages © 2026

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