php-standard-library/os
Detect the operating system in a type-safe way using PHP Standard Library's OperatingSystemFamily enum. Part opf the php-standard-library project, this small package gives you a clean, enum-based API for OS detection instead of fragile string checks.
Type-safe operating system detection via OperatingSystemFamily enum.
How can I help you explore Laravel packages today?