gijsg/system-resources
最新稳定版本:1.0.5
Composer 安装命令:
composer require gijsg/system-resources
包简介
A Laravel Nova card.
README 文档
README
This Nova tool gives you a live overview of your RAM and CPU usage of your system.
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
其他信息
- 授权协议: MIT
- 更新时间: 2018-09-02
