PHPackages                             asd-lt/action-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. asd-lt/action-log

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

asd-lt/action-log
=================

Laravel library for logging desired column changes in models

1.0.5(4y ago)01.5kMITPHP

Since Aug 24Pushed 4y ago1 watchersCompare

[ Source](https://github.com/asd-lt/action-log)[ Packagist](https://packagist.org/packages/asd-lt/action-log)[ RSS](/packages/asd-lt-action-log/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependenciesVersions (7)Used By (0)

Action Log
==========

[](#action-log)

Laravel library for logging desired column changes in models

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

[](#installation)

Use the package manager [composer](https://getcomposer.org/download/) to install Action log.

```
composer require asd-lt/action-log
```

Copy migration

```
php artisan action-log:tables
```

Run migrations

```
php artisan migrate
```

Configuration &amp; Usage
-------------------------

[](#configuration--usage)

Default guard will be used to link user with log, or it can be defined in `auth.php` configuration file.

```
'defaults' => [
    // ...
    'action_log_guard' => 'guard',
],
```

Attach action log trait to any model, which changes should be logged.

```
use Asd\ActionLog\Models\Traits\ActionLogTrait;

class Model {
    use ActionLogTrait;
    // ...
}
```

By default, all columns defined in `fillable` model attribute will be logged, but if needed it can be limited with additional model attribute `loggableFields`

```
class Model {
    // log only these column changes
    protected $loggableFields = [
        'column1',
        'column2',
    ];
}
```

Additionally, columns can be excluded from logging.

```
class Model {
    // exclude columns from logging changes
    protected $actionLogAttributesExcept = [
        'column3',
        'column4',
    ];
}
```

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

[](#contributing)

Pull requests are welcome. For major changes, please open an issue first to discuss what you would like to change.

Please make sure to update tests as appropriate.

License
-------

[](#license)

[MIT](https://choosealicense.com/licenses/mit/)

###  Health Score

27

—

LowBetter than 47% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity56

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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 ~0 days

Total

6

Last Release

1768d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/7474590?v=4)[Simonas Dimavičius](/maintainers/asd-lt)[@asd-lt](https://github.com/asd-lt)

---

Top Contributors

[![asd-lt](https://avatars.githubusercontent.com/u/7474590?v=4)](https://github.com/asd-lt "asd-lt (8 commits)")

### Embed Badge

![Health badge](/badges/asd-lt-action-log/health.svg)

```
[![Health](https://phpackages.com/badges/asd-lt-action-log/health.svg)](https://phpackages.com/packages/asd-lt-action-log)
```

###  Alternatives

[psr/log

Common interface for logging libraries

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

API for OpenTelemetry PHP.

1938.5M261](/packages/open-telemetry-api)[open-telemetry/sdk

SDK for OpenTelemetry PHP.

2326.5M315](/packages/open-telemetry-sdk)[illuminated/console-logger

Logging and Notifications for Laravel Console Commands.

8676.7k](/packages/illuminated-console-logger)

PHPackages © 2026

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