tourze/operation-system-enum
A small PHP enum package for representing operating systems consistently across your codebase. Use it to identify, compare, and label OS values like Windows, macOS, Linux, Android, and iOS in Laravel or plain PHP projects, with a simple typed API that avoids loose strings and magic constants.
tourze/operation-system-enum is a small, domain-constant package — it gives PHP code a typed, shared list of operating-system values. The PM-relevant decision it unlocks is consistency of platform categorization across reporting, segmentation, licensing/support tiers, and analytics dimensions, rather than any user-facing capability.^1.0), whereas 0.0.2 carried no backward-compatibility guarantee. That changes the calculus from "evaluate cautiously, expect churn" to "safe to pin."Adopt when:
Look elsewhere or build in-house when:
0.0.2 → 1.0.0 jump is large enough that renamed or removed enum cases are plausible. Treat "stabilized API" as likely but unconfirmed — read the compare diff before pinning, and do not assume case names carried over.^1.0. Before upgrading anything from 0.0.x, diff the changelog for renamed cases — the release notes are empty, so the upgrade path is verified from the diff, not the announcement. If we need actual platform detection or OS metadata, plan for a separate solution; this package is the vocabulary layer only.How can I help you explore Laravel packages today?