snapflowio/system
最新稳定版本:v0.1.0
Composer 安装命令:
composer require snapflowio/system
包简介
A simple and lightweight library for retrieving system information from the host device.
README 文档
README
A simple and lightweight library for retrieving system information from the host device.
Installation
composer require snapflow/system
Quick Start
<?php use Snapflow\System\System; System::getOS(); System::getHostname(); System::getArch(); System::getArchEnum(); System::getKernelVersion(); System::getCurrentUser(); System::isRoot(); System::getUptime(); System::getProcessCount(); System::getLinuxDistribution(); System::getSystemInfo(); System::getCPUCores(); System::getCPUUsage(1); System::getLoadAverage(); System::getMemoryTotal(); System::getMemoryFree(); System::getMemoryAvailable(); System::getDiskTotal('/'); System::getDiskFree('/'); System::getIOUsage(1); System::getNetworkUsage(1); System::isArm64(); System::isArmV7(); System::isArmV8(); System::isX86(); System::isPPC(); System::isArch('x86_64'); System::isContainer(); System::getContainerType(); System::isVirtualized(); System::getVirtualizationType(); System::getEnv('PATH'); System::getEnv('HOME', '/default/path');
License
This library is available under the MIT License.
Copyright
Copyright (c) 2025 Snapflow
统计信息
- 总下载量: 1
- 月度下载量: 0
- 日度下载量: 0
- 收藏数: 2
- 点击次数: 0
- 依赖项目数: 0
- 推荐数: 0
其他信息
- 授权协议: MIT
- 更新时间: 2025-12-16