承接 snapflowio/system 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

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

GitHub 信息

  • Stars: 2
  • Watchers: 0
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2025-12-16