PHPackages                             kokozm/laravel-query-logger - 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. kokozm/laravel-query-logger

ActiveLibrary

kokozm/laravel-query-logger
===========================

DB query logger tool

1.0.2(5y ago)1171[1 PRs](https://github.com/kokozm/laravel-query-logger/pulls)MITPHP

Since Jul 23Pushed 3y ago1 watchersCompare

[ Source](https://github.com/kokozm/laravel-query-logger)[ Packagist](https://packagist.org/packages/kokozm/laravel-query-logger)[ RSS](/packages/kokozm-laravel-query-logger/feed)WikiDiscussions master Synced 2d ago

READMEChangelog (2)Dependencies (1)Versions (4)Used By (0)

安装
--

[](#安装)

```
# composer require kokozm/laravel-query-logger

```

配置
--

[](#配置)

在 `.env` 文件中增加 `LARAVEL_QUERY_LOGGER_ENABLED=true` 即可开启。

也可发布配置文件：

```
# php artisan vendor:publish --provider=Kokozm\LaravelQueryLogger\ServiceProvider --tag=config

```

生成配置文件 `config/laravel-query-logger.php` ，内容如下：

```
return [
    'enabled' => env('LARAVEL_QUERY_LOGGER_ENABLED', false),
];
```

License
-------

[](#license)

[MIT license](https://opensource.org/licenses/MIT)

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 75% 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 ~83 days

Total

2

Last Release

2037d ago

### Community

Maintainers

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

---

Top Contributors

[![kokozm](https://avatars.githubusercontent.com/u/13229275?v=4)](https://github.com/kokozm "kokozm (9 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (3 commits)")

### Embed Badge

![Health badge](/badges/kokozm-laravel-query-logger/health.svg)

```
[![Health](https://phpackages.com/badges/kokozm-laravel-query-logger/health.svg)](https://phpackages.com/packages/kokozm-laravel-query-logger)
```

###  Alternatives

[anourvalar/eloquent-serialize

Laravel Query Builder (Eloquent) serialization

11320.2M21](/packages/anourvalar-eloquent-serialize)[namu/wirechat

A Laravel Livewire messaging app for teams with private chats and group conversations.

54324.5k](/packages/namu-wirechat)[statamic-rad-pack/runway

Eloquently manage your database models in Statamic.

135192.6k5](/packages/statamic-rad-pack-runway)

PHPackages © 2026

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