insign/get-os

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

Maintainers

Details

github.com/insign/get-os

Source

Issues

Installs: 173

Dependents: 1

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 1

Type:project

v1.0.3 2020-11-13 18:26 UTC

This package is auto-updated.

Last update: 2024-05-14 01:58:06 UTC


README

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

  • Supports Linux, Mac and Windows
// Unknown = 1
// Windows = 2
// Linux = 3
// Mac = 4

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