gijsg/system-resources

A Laravel Nova card.

1.0.5 2020-05-18 16:23 UTC

This package is auto-updated.

Last update: 2022-01-20 18:38:21 UTC


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.

Support us

Direct Insight screenshot

API response invalid? We notify you instantly! Direct Insight monitors your API making sure it behaves like you expect it does. Be the first to know when your API does not work as expected.