PHPackages                             sardorbek1605/model-log - 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. sardorbek1605/model-log

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

sardorbek1605/model-log
=======================

Create history log for laravel model

03PHP

Since May 26Pushed 1y agoCompare

[ Source](https://github.com/Sardorbek1605/model-log)[ Packagist](https://packagist.org/packages/sardorbek1605/model-log)[ RSS](/packages/sardorbek1605-model-log/feed)WikiDiscussions main Synced today

READMEChangelogDependenciesVersions (1)Used By (0)

model-log
=========

[](#model-log)

Create history log for laravel model. This package can be used for creating log form model.

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

[](#installation)

You should add repository to your composer.json file

```
"repositories": [
    {
        "type": "vcs",
        "url": "https://github.com/Sardorbek1605/model-log"
    }
]
```

You can install the package via composer:

```
composer require Sardorbek1605/model-log
```

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

[](#configuration)

1. You should publish migration files

```
php artisan vendor:publish --provider="Sardorbek\ModelLog\ModelLogServiceProvider"
```

2. Run migration

```
php artisan migrate
```

Usage
-----

[](#usage)

You should add UpdateLoggable trait for necessary model

```
namespace App\Services\ModelLog;

use Sardorbek\ModelLog\Services\ModelLogService;
use Sardorbek\ModelLog\Traits\UpdateLoggable;

class User extends Modal
{
    use UpdateLoggable;
}
```

License
-------

[](#license)

The MIT License (MIT).

###  Health Score

15

—

LowBetter than 3% of packages

Maintenance35

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

 Bus Factor1

Top contributor holds 68% 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.

### Community

Maintainers

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

---

Top Contributors

[![dostontiu](https://avatars.githubusercontent.com/u/33276605?v=4)](https://github.com/dostontiu "dostontiu (17 commits)")[![Sardorbek1605](https://avatars.githubusercontent.com/u/69075522?v=4)](https://github.com/Sardorbek1605 "Sardorbek1605 (8 commits)")

### Embed Badge

![Health badge](/badges/sardorbek1605-model-log/health.svg)

```
[![Health](https://phpackages.com/badges/sardorbek1605-model-log/health.svg)](https://phpackages.com/packages/sardorbek1605-model-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B11.5k](/packages/psr-log)[open-telemetry/api

API for OpenTelemetry PHP.

1941.5M277](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2328.5M344](/packages/open-telemetry-sdk)

PHPackages © 2026

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