joshhanley/livewire-checksum-logger 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

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

joshhanley/livewire-checksum-logger

Composer 安装命令:

composer require joshhanley/livewire-checksum-logger

包简介

An checksum logger for Livewire to debug corruption issues

README 文档

README

This package dumps Livewire's fingerprint and memo data to a log channel for debugging the "Livewire encountered corrupt data" error.

Installation

To install the package run

composer require joshhanley/livewire-checksum-logger

Usage

In your .env file, set the below option to true to enable and false to disable (or remove)

LIVEWIRE_CHECKSUM_LOGGER_ENABLED=true

You can also specify which channel the package will use. Currently it will use Laravel's log by default, but also has support for ray

LIVEWIRE_CHECKSUM_LOGGER_CHANNEL=ray

Once your env variables have been configured, make an initial request that contains a Livewire component. You should see the Livewire component ID and "RESPONSE" with the fingerprint and memo payloads.

Then trigger a Livewire request, and you should see the Livewire component ID and "REQUEST" with the fingerprint and memo payloads.

You can then manually compare these to see if there are any differences.

Here is a sample of how it looks in ray:

ray example

And sample log output:

log example

统计信息

  • 总下载量: 468
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 6
  • 点击次数: 5
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2021-08-04

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固