PHPackages                             sureyee/laravel-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. sureyee/laravel-action-log

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

sureyee/laravel-action-log
==========================

基于ORM模型事件的操作记录

v1.0(6y ago)016MITPHPPHP &gt;=7.1

Since May 22Pushed 6y ago1 watchersCompare

[ Source](https://github.com/SureYee/laravel-action-log)[ Packagist](https://packagist.org/packages/sureyee/laravel-action-log)[ RSS](/packages/sureyee-laravel-action-log/feed)WikiDiscussions master Synced today

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

LARAVEL-ACTION-LOG
==================

[](#laravel-action-log)

#### 项目介绍

[](#项目介绍)

基于ORM模型的操作记录工具包

```
注意：由于使用的orm模型事件，因此在批量更新的时候是不会触发操作日志记录的。

```

#### 安装说明

[](#安装说明)

1. 安装接口包

    `composer require sureyee/laravel-action-log`
2. 运行 `php artisan vendor:publish` 发布配置项文件

#### 使用说明

[](#使用说明)

1. 在 `actionlog.php` 中配置需要监听的模型 ```
    return [
        'watching' => [
            \App\Models\User::class
        ]
    ];
    ```
2. 在注册的模型中添加 `trait````
    use Sureyee\ActionLog\Traits\ActionLogAble;

    class User extends Authenticatable
    {
        use Notifiable, HasApiTokens, SoftDeletes, HasRolesAndAbilities, ActionLogAble;
    }
    ```

#### 排除字段

[](#排除字段)

如果有些冗余字段不需要进行监听则可以加入到`$excepts`数组中，在更新操作时，会忽略该字段的值，如果只有忽略值更新，则不会进行记录。

```
   class User extends Authenticatable
   {
        protected $excepts = ['updated_at', 'created_at'];
   }
```

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

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

Unknown

Total

1

Last Release

2547d ago

### Community

Maintainers

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

---

Top Contributors

[![SureYee](https://avatars.githubusercontent.com/u/20300761?v=4)](https://github.com/SureYee "SureYee (1 commits)")

### Embed Badge

![Health badge](/badges/sureyee-laravel-action-log/health.svg)

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

###  Alternatives

[overtrue/laravel-query-logger

A dev tool to log all queries for laravel application.

413307.5k6](/packages/overtrue-laravel-query-logger)[guanguans/laravel-exception-notify

Monitor exception and report to the notification channels(Log、Mail、AnPush、Bark、Chanify、DingTalk、Discord、Gitter、GoogleChat、IGot、Lark、Mattermost、MicrosoftTeams、NowPush、Ntfy、Push、Pushback、PushBullet、PushDeer、PushMe、Pushover、PushPlus、QQ、RocketChat、ServerChan、ShowdocPush、SimplePush、Slack、Telegram、WeWork、WPush、XiZhi、YiFengChuanHua、ZohoCliq、ZohoCliqWebHook、Zulip).

14642.7k1](/packages/guanguans-laravel-exception-notify)[regulus/activity-log

A clean and simple Laravel 5 activity logger for monitoring user activity on a website or web application.

164220.1k2](/packages/regulus-activity-log)

PHPackages © 2026

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