intpp/system-info

Information about the server

v1.0.1 2014-12-23 11:14 UTC

This package is not auto-updated.

Last update: 2024-04-23 01:24:42 UTC


README

Information about your server.

Supported OS:

  • Linux
  • Windows
  • BSD
  • Macintosh

Methods:

  • getName
  • getVersion
  • getHostname
  • getArchitecture
  • getUptime

Usage

    // Get the class to work with the current operating system
    $system = Server::getInfo();
    
    // Captain Obvious was here
    $system::getName();
    $system::getVersion();
    ...
    $system::getUptime();

Install via composer

    "require": {
        ...
        "intpp/system-info": "*"
    },