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

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

sudongxu/operation-log
======================

dcat-admin操作日志记录，根据配置文件限制是否记录类型：【GET,POST,PUT,DELETE....】

1.0.1.x-dev(4mo ago)13MITPHPPHP &gt;=7.1.0

Since Dec 30Pushed 4mo agoCompare

[ Source](https://github.com/qq137504949/sudongxu-operation-log)[ Packagist](https://packagist.org/packages/sudongxu/operation-log)[ Docs](https://github.com/qq137504949/sudongxu-operation-log)[ RSS](/packages/sudongxu-operation-log/feed)WikiDiscussions main Synced 1mo ago

READMEChangelogDependencies (1)Versions (2)Used By (0)

**依赖**

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

---

\_\_\*\*安装\*\*\_\_ composer 安装

composer require sudongxu/dcat-operation-log

---

**启用插件**

开发工具 -&gt; 扩展 -&gt; sudongxu.dcat-operation-log -&gt; 升级 -&gt; 启用 发布配置 operation-log.php

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

执行完成后 config下有一个operation-log.php文件，里面有配置项，可自行修改。

---

**方法使用**

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' => Dcat\Admin\Models\Administrator::class,
]

```

---

**\*\*安装问题**\*\*

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

---

[![](https://camo.githubusercontent.com/a175d6486b0cbcf1a7fce2c1af7d40e1faa4de7a81707d65c2135d4dabb6ab72/687474703a2f2f736878756d692e636f6d2f64732e706e67)](https://camo.githubusercontent.com/a175d6486b0cbcf1a7fce2c1af7d40e1faa4de7a81707d65c2135d4dabb6ab72/687474703a2f2f736878756d692e636f6d2f64732e706e67)

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance81

Actively maintained with recent releases

Popularity5

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity15

Early-stage or recently created project

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

130d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6a97e0d713f9264a99096b8374159244438be9ebb25d324b80dea9315b446687?d=identicon)[qq137504949](/maintainers/qq137504949)

---

Tags

extensiondcat admin

### Embed Badge

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

```
[![Health](https://phpackages.com/badges/sudongxu-operation-log/health.svg)](https://phpackages.com/packages/sudongxu-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)
