定制 tomatophp/filament-logger 二次开发

按需修改功能、优化性能、对接业务系统,提供一站式技术支持

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

tomatophp/filament-logger

最新稳定版本:v1.0.4

Composer 安装命令:

composer require tomatophp/filament-logger

包简介

Log all user activity to file or log driver and preview it on your FilamentPHP panel

README 文档

README

Screenshot

Filament logger

Latest Stable Version License Downloads

Log all user activity to file or log driver and preview it on your FilamentPHP panel

Screenshots

Logger View Log Log File

Installation

composer require tomatophp/filament-logger

after install your package please run this command

php artisan filament-logger:install

finally register the plugin on /app/Providers/Filament/AdminPanelProvider.php

->plugin(\TomatoPHP\FilamentLogger\FilamentLoggerPlugin::make())

after install please publish the config file by using this command

php artisan vendor:publish --tag="filament-logger-config"

on your filament-logger.php config file please add the guard of user or middleware you went to track

    'guards' => [
        'web',
        'auth:accounts'
    ],

to track your panel

    'guards' => [
        'web',
        'panel:admin'
    ],

where admin is the id of the panel.

Using

you can add a custom log from anywhere in your code by using this code

use TomatoPHP\FilamentLogger\Facades\FilamentLogger;

FilamentLogger::log(message:'Your message here', level:'info');

Publish Assets

you can publish config file by use this command

php artisan vendor:publish --tag="filament-logger-config"

you can publish languages file by use this command

php artisan vendor:publish --tag="filament-logger-lang"

you can publish migrations file by use this command

php artisan vendor:publish --tag="filament-logger-migrations"

Other Filament Packages

Checkout our Awesome TomatoPHP

统计信息

  • 总下载量: 2.28k
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 16
  • 点击次数: 1
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 16
  • Watchers: 1
  • Forks: 6
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-09-22

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固