stepanenko3/laravel-system-resources

Get OS resources from Laravel
164,784 7
Install
composer require stepanenko3/laravel-system-resources
Latest Version:v1.1.1
PHP:^8.0
Laravel:9 · 10 · 11
License:MIT
Last Updated:Feb 25, 2025
Links: GitHub  ·  Packagist
Maintainer: stepanenko3

OS Resources

Latest Version on Packagist Total Downloads License

Description

Get OS resources from Laravel

Requirements

  • php: >=8.0
  • laravel/framework: ^9.0

Installation

# Install the package
composer require stepanenko3/laravel-system-resources

Usage

use Stepanenko3\LaravelSystemResources\Facades\SystemResources;

$ram = SystemResources::ram();
$ramUsed = SystemResources::ramUsed();
$ramTotal = SystemResources::ramTotal();

$disk = SystemResources::disk();
$diskUsed = SystemResources::diskUsed();
$diskTotal = SystemResources::diskTotal();

$cpuName = SystemResources::cpuName();
$cpu = SystemResources::cpu();

Credits

Contributing

Thank you for considering contributing to this package! Please create a pull request with your contributions with detailed explanation of the changes you are proposing.

License

This package is open-sourced software licensed under the MIT license.

Related Packages

doctrine/dbal

Powerful PHP database abstraction layer (DBAL) with many features for database s...

641,106,524 9,700
laravel/framework

The Laravel Framework.

593,882,149 34,959
laravel/tinker

Powerful REPL for the Laravel framework.

502,645,077 7,441
laravel/serializable-closure

Laravel Serializable Closure provides an easy and secure way to serialize closur...

418,291,778 609
nunomaduro/collision

Cli error handling for console/command-line PHP applications.

399,241,428 4,660

Version History

Version Released PHP Laravel License
v1.1.1 ^8.0 ^9.0|^10.0|^11.0 MIT
v1.1.0 ^8.0 ^9.0|^10.0|^11.0 MIT
v1.0.1 >=8.0 >=9.0 MIT
v1.0.0 >=8.0 >=9.0 MIT