intpp / system-info
Information about the server
v1.0.1
2014-12-23 11:14 UTC
Requires
- php: >=5.4.0
This package is not auto-updated.
Last update: 2024-11-05 04:02:23 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": "*"
},