New

Just launched: Vueblocks, a brand-new search engine for Vue packages! Explore Vueblocks →

stepanenko3/laravel-system-resources

Get OS resources from Laravel
165,996 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...

651,963,193 9,701
laravel/framework

The Laravel Framework.

610,364,751 34,988
laravel/tinker

Powerful REPL for the Laravel framework.

518,004,183 7,444
laravel/serializable-closure

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

435,097,283 607
nunomaduro/collision

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

407,699,310 4,663

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