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: 2

Watchers: 2

Forks: 1

Type:project

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

This package is auto-updated.

Last update: 2024-11-14 03:05:46 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