An open API service indexing awesome lists of open source software.

https://github.com/insign/get-os

Simply create a consistently way to find out what operating system is the php running.
https://github.com/insign/get-os

Last synced: 6 months ago
JSON representation

Simply create a consistently way to find out what operating system is the php running.

Awesome Lists containing this project

README

          

get-os
================
Only creates a simple and consistent way to find out what operating system is the current is php running.

* Supports Linux, Mac and Windows

```php
// Unknown = 1
// Windows = 2
// Linux = 3
// Mac = 4

echo getOS::ofServer(); // Return a integer
```