PHPackages                             thisliu/dcat-operation-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. thisliu/dcat-operation-log

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

thisliu/dcat-operation-log
==========================

Dcat Admin 操作日志扩展

1.0(3y ago)030MITPHP

Since Sep 20Pushed 3y agoCompare

[ Source](https://github.com/thisliu/dcat-operation-log)[ Packagist](https://packagist.org/packages/thisliu/dcat-operation-log)[ RSS](/packages/thisliu-dcat-operation-log/feed)WikiDiscussions master Synced 1mo ago

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

Dcat Admin Extension 管理员操作日志扩展
==============================

[](#dcat-admin-extension--管理员操作日志扩展)

依赖
--

[](#依赖)

- php | &gt;= 7.3.0
- dcat/laravel-admin | &gt;= ~2.0

安装
--

[](#安装)

### composer 安装

[](#composer-安装)

```
composer require thisliu/dcat-operation-log

```

### 启用插件

[](#启用插件)

```
开发工具 -> 扩展 -> weiaibaicai.dcat-operation-log -> 升级 -> 启用

```

### 发布配置 operation-log.php

[](#发布配置-operation-logphp)

```
php artisan vendor:publish --provider="Weiaibaicai\OperationLog\OperationLogServiceProvider"

```

方法使用
----

[](#方法使用)

1、添加日志菜单，路径为`auth/operation-logs`即可

2、相关配置，查看 `operation-log.php`

3、如需关闭日志的路由，`close_routes` 的值为 `true`。如需控制总后台的日志路由，可以将如下代码放入后台配置文件中（admin.php）

```
    'extensions' => [
        'dcat_operation_log' => [
            'close_routes' => true
        ]
    ]

```

4、多后台，需要配置管理员用户的映射关系，记得把模型补上

```
    'users_map' => [
        'admin_users' => 'App\Models\AdminUser',
    ]

```

安装问题
----

[](#安装问题)

1. 发布文件时可能存在权限问题，记得给足权限。可在项目根目录执行 `chmod -R 755 public/vendor`
2. 读取不到已经发布的配置，可清空一下缓存 `php artisan config:clear`
3. 升级程序的流程，与启用插件的一样

###  Health Score

22

—

LowBetter than 22% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity46

Maturing project, gaining track record

 Bus Factor1

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

1327d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/4c7d97a405bd4800085229fad21b5c81ead3f09393525289d764f99300b0f1ed?d=identicon)[liuhao](/maintainers/liuhao)

---

Top Contributors

[![weiaibaicai](https://avatars.githubusercontent.com/u/26831491?v=4)](https://github.com/weiaibaicai "weiaibaicai (5 commits)")[![thisliu](https://avatars.githubusercontent.com/u/29086766?v=4)](https://github.com/thisliu "thisliu (2 commits)")

---

Tags

extensiondcat admin

### Embed Badge

![Health badge](/badges/thisliu-dcat-operation-log/health.svg)

```
[![Health](https://phpackages.com/badges/thisliu-dcat-operation-log/health.svg)](https://phpackages.com/packages/thisliu-dcat-operation-log)
```

###  Alternatives

[super-eggs/dcat-log-viewer

方便在管理后台查看日志

154.6k](/packages/super-eggs-dcat-log-viewer)[sparkinzy/dcat-marketplace

Dcat扩展市场

381.3k](/packages/sparkinzy-dcat-marketplace)

PHPackages © 2026

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