A generic way to find informations about the running system

6.0.5 2023-09-27 18:31 UTC


A generic way to find informations about your system

coverage build status


The installation of this library is made via composer and the autoloading of all classes of this library is made through their autoloader.

  • Download composer.phar from their website.
  • Then run the following command to install this library as dependency :
  • php composer.phar php-extended/php-system ^6

Basic Usage

You can get the singleton php-system object by doing the following:

use PhpExtended\System\OperatingSystem;

$system = OperatingSystem::get();

This system object have lots of useful properties. An instance of UnknownOs is returned in case this is not implemented. The get method never throws any exception.


MIT (See license file).