aaronfrancis/pulse-outdated 问题修复 & 功能扩展

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

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

aaronfrancis/pulse-outdated

最新稳定版本:v0.1.2

Composer 安装命令:

composer require aaronfrancis/pulse-outdated

包简介

A Laravel Pulse card to show outdated composer dependencies

README 文档

README

This card will show you outdated Composer dependencies.

Installation

Require the package with Composer:

composer require aaronfrancis/pulse-outdated

Register the recorder

Right now, the Composer dependencies will only be checked once per day. To run the checks you must add the OutdatedRecorder to the pulse.php file.

return [
    // ...
    
    'recorders' => [
+        \AaronFrancis\Pulse\Outdated\Recorders\OutdatedRecorder::class => [],
    ]
]

You also need to be running the pulse:check command.

Add to your dashboard

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

Then, you can modify the dashboard.blade.php file:

<x-pulse>
+    <livewire:outdated cols='4' rows='2' />

    <livewire:pulse.servers cols="full" />

    <livewire:pulse.usage cols="4" rows="2" />

    <livewire:pulse.queues cols="4" />

    <livewire:pulse.cache cols="4" />

    <livewire:pulse.slow-queries cols="8" />

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

    <livewire:pulse.slow-requests cols="6" />

    <livewire:pulse.slow-jobs cols="6" />

    <livewire:pulse.slow-outgoing-requests cols="6" />

</x-pulse>

That's it!

统计信息

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

GitHub 信息

  • Stars: 92
  • Watchers: 1
  • Forks: 11
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2023-12-05