2017 © Pedro Peláez
 

library os-info

Application easily parsing and displaying system information of the host.

image

olivia/os-info

Application easily parsing and displaying system information of the host.

  • Saturday, April 21, 2018
  • by bill@anomalylab.org
  • Repository
  • 1 Watchers
  • 4 Stars
  • 0 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

Operating system information

Application easily parsing and displaying system information of the host., (*1)

Installer

    composer require olivia/os-info

Use

Basic

    $info = new Olivia\OsInfo\OSInfo(
        new Linfo\Linfo
    );

    // Cpu
    echo $info->getCpu();

Laravel or other PHP framework

    use Olivia\OsInfo\OSInfo;

    $info = app(OSInfo::class);

    // Cpu
    echo $info->getCpu();

API

  • getCpu() : string
  • getServer() : string
  • getMemory() : string
  • getMysqlVersion(string $host = '127.0.0.1', string $username = 'root', ?string password = null) : string
  • getPHPVersion() : string
  • getUploadMaxFileSize() : string

The Versions

21/04 2018

dev-master

9999999-dev https://anomaly.ink

Application easily parsing and displaying system information of the host.

  Sources   Download

MIT

The Requires

 

The Development Requires

21/04 2018

1.0

1.0.0.0 https://anomaly.ink

Application easily parsing and displaying system information of the host.

  Sources   Download

MIT

The Requires

 

The Development Requires