PHPackages                             tyasa81/ezloggable - 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. tyasa81/ezloggable

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

tyasa81/ezloggable
==================

This is my package ezloggable

015[4 PRs](https://github.com/tyasa81/EzLog/pulls)PHPCI passing

Since Oct 13Pushed 1mo ago1 watchersCompare

[ Source](https://github.com/tyasa81/EzLog)[ Packagist](https://packagist.org/packages/tyasa81/ezloggable)[ RSS](/packages/tyasa81-ezloggable/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependenciesVersions (5)Used By (0)

This is my package ezloggable
=============================

[](#this-is-my-package-ezloggable)

[![Latest Version on Packagist](https://camo.githubusercontent.com/028ffd240a1a77c1d8d5b7447bd3b67ca3d1a6bf23c614669050400571edc778/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f747961736138312f657a6c6f676761626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tyasa81/ezloggable)[![GitHub Tests Action Status](https://camo.githubusercontent.com/ed1076fab71324b18d01dfc5c3543834ab7703f72f2852898e887b0448ed3610/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f747961736138312f657a6c6f676761626c652f72756e2d74657374732e796d6c3f6272616e63683d6d61696e266c6162656c3d7465737473267374796c653d666c61742d737175617265)](https://github.com/tyasa81/ezloggable/actions?query=workflow%3Arun-tests+branch%3Amain)[![GitHub Code Style Action Status](https://camo.githubusercontent.com/bc3e43869d1bdb8764717f1a28bb43558832c41cfb3bf6d1ab4cb89a3c988578/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f616374696f6e732f776f726b666c6f772f7374617475732f747961736138312f657a6c6f676761626c652f6669782d7068702d636f64652d7374796c652d6973737565732e796d6c3f6272616e63683d6d61696e266c6162656c3d636f64652532307374796c65267374796c653d666c61742d737175617265)](https://github.com/tyasa81/ezloggable/actions?query=workflow%3A%22Fix+PHP+code+style+issues%22+branch%3Amain)[![Total Downloads](https://camo.githubusercontent.com/4438095afd7af06b9a5a3586403498a0d56e687678278c588896ca5c3bd1a606/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f747961736138312f657a6c6f676761626c652e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/tyasa81/ezloggable)

To log changes in your models.

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

[](#installation)

You can install the package via composer:

```
composer require tyasa81/ezloggable
```

You can publish and run the migrations with:

```
php artisan vendor:publish --tag="ez-migrations"
php artisan migrate
```

You can publish the config file with:

```
php artisan vendor:publish --tag="ezloggable-config"
```

This is the contents of the published config file:

```
return [
];
```

Usage
-----

[](#usage)

```
$log = EzLog::log(
    user_id: 88,
    loggable_type: "stock",
    loggable_id: 96,
    acted_by_type: "user",
    acted_by_id: 5,
    action: "set",
    column: "qty",
    before: 5,
    after: 10,
);
```

Testing
-------

[](#testing)

```
vendor/bin/testbench package:create-sqlite-db
vendor/bin/testbench vendor:publish
vendor/bin/testbench migrate
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [Tony Yasa](https://github.com/tyasa81)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

25

—

LowBetter than 37% of packages

Maintenance64

Regular maintenance activity

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity18

Early-stage or recently created project

 Bus Factor1

Top contributor holds 56.5% 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/6bf2677afb69b7f20b48a9a66bde2626a82c5536e6fc764884db5664979768fa?d=identicon)[tyasa81](/maintainers/tyasa81)

---

Top Contributors

[![tyasa81](https://avatars.githubusercontent.com/u/36804374?v=4)](https://github.com/tyasa81 "tyasa81 (13 commits)")[![dependabot[bot]](https://avatars.githubusercontent.com/in/29110?v=4)](https://github.com/dependabot[bot] "dependabot[bot] (5 commits)")[![github-actions[bot]](https://avatars.githubusercontent.com/in/15368?v=4)](https://github.com/github-actions[bot] "github-actions[bot] (5 commits)")

### Embed Badge

![Health badge](/badges/tyasa81-ezloggable/health.svg)

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

###  Alternatives

[psr/log

Common interface for logging libraries

10.4k1.2B9.1k](/packages/psr-log)[itsgoingd/clockwork

php dev tools in your browser

5.9k27.6M93](/packages/itsgoingd-clockwork)[graylog2/gelf-php

A php implementation to send log-messages to a GELF compatible backend like Graylog2.

41838.2M137](/packages/graylog2-gelf-php)[bugsnag/bugsnag-psr-logger

Official Bugsnag PHP PSR Logger.

32132.5M2](/packages/bugsnag-bugsnag-psr-logger)[consolidation/log

Improved Psr-3 / Psr\\Log logger based on Symfony Console components.

15462.2M7](/packages/consolidation-log)[datadog/php-datadogstatsd

An extremely simple PHP datadogstatsd client

19124.6M15](/packages/datadog-php-datadogstatsd)

PHPackages © 2026

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