dolar/activitylog

用户活动日志管理器。跟踪所有类型的数据库活动

安装: 16

依赖: 0

建议者: 0

安全: 0

星标: 0

关注者: 1

分支: 0

开放问题: 0

类型:

dev-master 2023-08-21 15:41 UTC

This package is auto-updated.

Last update: 2024-09-21 18:08:44 UTC


README

Build Status Total Downloads Latest Stable Version License

关于 phGov Detector

用户活动日志管理器。所有类型的数据库活动将

运行以下命令以获取最新版本

composer require dolar/activitylog

Lumen 专用

在您的 bootstrap/app.php 应用启动文件中注册提供者

在文件底部的 "注册服务提供者" 部分中添加以下行。

$app->register(\dolar\ActivityLog\LogtrackerServiceProvider::class);

对于外观,在您的 bootstrap/app.php 启动文件中取消注释 $app->withFacades();

在 composer update 后,在您的项目中运行此命令

php artisan migrate

在您的模型中使用此特性

use Logtrackerable

许可证

myGov Detector 是开源软件,根据 MIT 许可证 发布。