gijsg/system-resources
gijsg/system-resources is a Laravel package for reading server system resource usage—CPU load, memory, disk space, and similar metrics—from PHP. It offers straightforward helpers and APIs for displaying resource stats in dashboards, admin panels, or health checks.
composer require gijsg/system-resources. The package is a Nova card only, so no additional service provider registration is needed beyond Laravel's auto-discovery.app/Providers/NovaServiceProvider.php inside cards():public function cards()
{
return [
new \GijsGoudzwaard\SystemResources\SystemResources,
];
}
php artisan vendor:publish --tag=system-resources-config, then inspect config/system-resources.php for thresholds and refresh settings./nova and confirm the card appears on the dashboard. It is a read-only monitoring widget — intended to give operators a quick CPU / memory / disk glance without leaving Nova, not a full APM tool.src/ directory to confirm how metrics are gathered (likely shelling out to Linux utilities such as free, df, or reading /proc). That single detail determines whether it will work on your hosting environment.cards()), not as a resource tool or detail component. Keep it there; forcing it into resource screens adds little value because the data is server-wide, not per-model.SystemDashboard class) alongside other infrastructure cards so production health lives in one view instead of cluttering the default dashboard.gijsg/system-resources to an exact version (e.g. 1.0.5) in composer.json rather than a caret constraint, so an unattended composer update cannot silently move you onto a differently-behaving build.composer.json Nova/PHP constraints against your versions before installing, and be prepared to pin Nova or fork./proc, free, df), the card will show wrong values or fail on macOS/Windows or restricted containers. Verify by running the same commands inside your app container before trusting the output.exec/shell_exec are often disabled in hardened PHP-FPM or shared hosting. If the card renders empty, check disable_functions and your container's available binaries first — and confirm you are on v1.0.5, since rendering bugs were the subject of the recent fix.nova:check and the browser console will surface Vue-level errors. When diffing behaviour against the changelog, note the release notes are terse ("Fixed issue #26 in #27") — read the merged PR diff on GitHub to know exactly what changed before upgrading.How can I help you explore Laravel packages today?