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

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

limanweb/eloquent-logger
========================

Extensions for Laravel Eloquent\\Model logging

v1.0.5(2y ago)05.2k↓65.7%MITPHPPHP ^7.2|^8.0

Since May 5Pushed 2y ago1 watchersCompare

[ Source](https://github.com/limanweb/eloquent-logger)[ Packagist](https://packagist.org/packages/limanweb/eloquent-logger)[ RSS](/packages/limanweb-eloquent-logger/feed)WikiDiscussions master Synced today

READMEChangelog (6)DependenciesVersions (7)Used By (0)

eloquent-logger
===============

[](#eloquent-logger)

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

[](#installation)

1. Run command to install a package into you project

    composer require limanweb/eloquent-logger
2. Add package provider into `providers` section of your `config/app.php`

    'providers' =&gt; \[ ... \\Limanweb\\EloquentLogger\\ServiceProvider::class, \],
3. Run command to publish package's config and migration

    php artisan vendor:publish

and choise package `\Limanweb\EloquentLogger\ServiceProvider` to publish.

Now you have configuration file `config/limanweb/eloquent_logger.php`.

4. If you have changed user ID type to UUID in your project, then you must configure it in `user` section of configuration.

    'user' =&gt; \[ ... 'key\_cast' =&gt; 'string', 'key\_create\_method' =&gt; 'uuid', \],
5. Run migrate command.

    php artisan migrate
6. In `App\Providers\EventServiceProvider` add next line to bottom of `boot()`

    \\Limanweb\\EloquentLogger\\LoggerService::initLogger();

Configuration
-------------

[](#configuration)

To turn on logger fore any model, add it into `models` section of configutarion.

```
'models' => [
	...
	App\AnyModel::class => [],
],

```

To exclude any model specified fields, add if into `models.AnyModel.exclude_fields` array of model declaration.

```
'models' => [
	...
	App\AnyModel::class => [
		'exclude_fields' => [
			'search',
		],
	],
],

```

To globally exclude any fields, add if into `exclude_fields` array of configutarion.

```
'exclude_fields' => [
	'created_at',
	'updated_at',
],

```

###  Health Score

32

—

LowBetter than 69% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity65

Established project with proven stability

 Bus Factor1

Top contributor holds 57.1% 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 ~297 days

Recently: every ~371 days

Total

6

Last Release

765d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v1.0.5PHP ^7.2|^8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/be8a9bfa93eb4d34ba70ea4bfd941a0d346b67f3030248cb4b443168084eb7a1?d=identicon)[limanweb](/maintainers/limanweb)

---

Top Contributors

[![limanweb](https://avatars.githubusercontent.com/u/17918827?v=4)](https://github.com/limanweb "limanweb (4 commits)")[![ocs-laravel](https://avatars.githubusercontent.com/u/72538616?v=4)](https://github.com/ocs-laravel "ocs-laravel (3 commits)")

---

Tags

laravelmodeleloquentlogger

### Embed Badge

![Health badge](/badges/limanweb-eloquent-logger/health.svg)

```
[![Health](https://phpackages.com/badges/limanweb-eloquent-logger/health.svg)](https://phpackages.com/packages/limanweb-eloquent-logger)
```

###  Alternatives

[shiftonelabs/laravel-cascade-deletes

Adds application level cascading deletes to Eloquent Models.

165735.6k2](/packages/shiftonelabs-laravel-cascade-deletes)[highsolutions/eloquent-sequence

A Laravel package for easy creation and management sequence support for Eloquent models with elastic configuration.

121137.5k](/packages/highsolutions-eloquent-sequence)[phaza/single-table-inheritance

Single Table Inheritance Trait

1515.8k](/packages/phaza-single-table-inheritance)

PHPackages © 2026

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