定制 happydev/laravel-ping 二次开发

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

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

happydev/laravel-ping

最新稳定版本:v1.0.0

Composer 安装命令:

composer require happydev/laravel-ping

包简介

Live Debugger for Laravel with Reverb

README 文档

README

Laravel Ping

Laravel Ping is a package that shows all debug information live in a web panel.

Installation

Prerequisite

First, you need to install Reverb:

php artisan install:broadcasting

During installation, select Reverb.

Install Laravel Ping

After installing Reverb, install Laravel Ping via Composer:

composer require happydev/laravel-ping

Publish Config and Views

Publish the configuration and public assets:

php artisan vendor:publish --provider="LaravelPing\LiveDebuggerServiceProvider" --tag="config"
php artisan vendor:publish --provider="LaravelPing\LiveDebuggerServiceProvider" --tag="public"

Setup

To view your debug messages, create a route in web.php:

Route::get('/debug', function () {
    return view('debug');
});

Then, in your debug.blade.php view file, add this line at the top:

@include('live-debugger::debugger')

This will render the live debugger panel on that page.

Usage

You can send debug messages using:

ping("Hello Ping");
p("Hello Ping");

ping() and p() will display your messages live in the web panel.

Notes

  • This package is intended for development environment only.
  • Make sure Reverb is installed and active before using Laravel Ping.

Future Features

  • Support for filtering debug messages by type or source.
  • Ability to save debug logs for later review.
  • Customizable themes and panel layout.
  • Integration with external monitoring tools.

统计信息

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

GitHub 信息

  • Stars: 0
  • Watchers: 0
  • Forks: 0
  • 开发语言: Blade

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-11-13