gijsg/system-resources 问题修复 & 功能扩展

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

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

gijsg/system-resources

最新稳定版本:1.0.5

Composer 安装命令:

composer require gijsg/system-resources

包简介

A Laravel Nova card.

README 文档

README

Total Downloads Latest Stable Version License

This Nova tool gives you a live overview of your RAM and CPU usage of your system.

screenshot of the backup tool

Requirements

You must use either Linux, MacOS or Windows.

shell_exec must not be disabled in your php.ini. Make sure that disabled_functions does not contain shell_exec.

Installation

You can install the nova tool in to a Laravel app that uses Nova via composer:

composer require gijsg/system-resources

Next up, you must register the tool with Nova. This is typically done in the cards method of the NovaServiceProvider.

// in app/Providers/NovaServiceProvder.php

// ...

protected function cards()
{
    return [
        // ...
        new \GijsG\SystemResources\SystemResources('ram'),
        new \GijsG\SystemResources\SystemResources('cpu'),
    ];
}

You can specify the width of the cards using the nova card width notation: 1/2, 1/4, full etc.

new \GijsG\SystemResources\SystemResources('ram', '1/3'),

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

统计信息

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

GitHub 信息

  • Stars: 29
  • Watchers: 2
  • Forks: 5
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2018-09-02