php-standard-library/os
Type-safe OS detection for PHP via an OperatingSystemFamily enum. Quickly identify Windows, macOS, Linux, and more without brittle string checks. Part of PHP Standard Library; lightweight and focused on reliable environment detection.
|
Package
|
Score
|
Description
|
Stars
|
Likes
|
Forks
|
Downloads
|
Issues
|
Score
|
Opportunity
|
License
|
Last Release
|
|
|---|---|---|---|---|---|---|---|---|---|---|---|---|
| php-standard-library/php-standard-library | 0.90 | PSL is a modern standard library for PHP 8.4+, inspired by HHVM’s HSL. It offers consistent, well-typed APIs for async, collections, I/O, networking, crypto, terminal UI, and more—safer alternatives to built-ins with predictable errors and async-ready design. | 1,513 | 1,512 | 83 | 63K | 19 | 44.7 | 34.2 | MIT | 2 weeks ago | |
| jolicode/php-os-helper | 0.80 | Lightweight PHP library from JoliCode to detect the current operating system and environment. Provides simple helpers for OS family checks (Windows/macOS/Linux) to adapt code paths, defaults, and tooling behavior across platforms. | 21 | 20 | 2 | 128K | 0 | 21.1 | 61.2 | MIT | 5 months ago | |
| php-standard-library/env | 0.77 | Tiny PHP utility for reading environment variables with sensible defaults and type casting. Helps centralize access to config via env(), supports required keys, fallback values, and safe handling when variables are missing or empty. | 0 | 0 | 0 | 6K | 0 | 20.6 | 61.1 | MIT | 2 weeks ago |
How can I help you explore Laravel packages today?