quix-labs/laravel-pulse-graphql 问题修复 & 功能扩展

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

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

quix-labs/laravel-pulse-graphql

最新稳定版本:1.0.1

Composer 安装命令:

composer require quix-labs/laravel-pulse-graphql

包简介

Monitor your graphql query with a Laravel pulse Card

README 文档

README

GraphQL tracking for Laravel Pulse

GraphQL requests in Laravel Pulse

Latest Version on Packagist Total Downloads

This package allow your to track all your GraphQL queries and mutations with rebing/graphql-laravel

Installation

You can install the package via composer:

composer require quix-labs/laravel-pulse-graphql

Register the recorder

Add the GraphqlRecorder inside config/pulse.php.

(If you don't have this file make sure you have published the config file of Larave Pulse using php artisan vendor:publish --tag=pulse-config)

return [
    // ...

    'recorders' => [
        // Existing recorders...
        
        \QuixLabs\LaravelPulseGraphql\Recorders\GraphqlRecorder::class => [], 
    ]
]

Add to your dashboard

To add the card to the Pulse dashboard, you must first publish the vendor view.

php artisan vendor:publish --tag=pulse-dashboard

Then, you can modify the dashboard.blade.php file and add the requests-graph livewire template:

<livewire:pulse.graphql cols="6" />

License

The MIT License (MIT). Please see License File for more information.

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2024-03-24