PHPackages                             tdtrung17693/php-os-recognizer - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. tdtrung17693/php-os-recognizer

ActiveLibrary

tdtrung17693/php-os-recognizer
==============================

OS recognizer for PHP

v1.0.0(6y ago)0262↓100%11Apache-2.0PHPPHP &gt;=5.6.0

Since Jun 11Pushed 5y agoCompare

[ Source](https://github.com/tdtrung17693/php-os-recognizer)[ Packagist](https://packagist.org/packages/tdtrung17693/php-os-recognizer)[ RSS](/packages/tdtrung17693-php-os-recognizer/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (3)Used By (1)

PHP OS Recognizer
=================

[](#php-os-recognizer)

[![Build Status](https://camo.githubusercontent.com/54120c5c49c45fbfc0dde592f29b2814cdbb682e0cdb03c563f8a130500a798e/68747470733a2f2f7472617669732d63692e6f72672f74647472756e6731373639332f7068702d6f732d7265636f676e697a65722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/tdtrung17693/php-os-recognizer)

Just a simple OS recognizer for PHP.

The currently supported OS: `Windows`, `Linux`, `Mac`, `FreeBSD`.

Specs supported: `platform`, `release`.

Usage:
------

[](#usage)

See `example.php`

###  Health Score

27

—

LowBetter than 49% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity55

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.7% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

2523d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9eee7a3ccbc1695c7fad96779c56ffe30a5cf53bed00aae23564dcc4aecea301?d=identicon)[tdtrung17693](/maintainers/tdtrung17693)

---

Top Contributors

[![tdtrung17693](https://avatars.githubusercontent.com/u/3716206?v=4)](https://github.com/tdtrung17693 "tdtrung17693 (2 commits)")[![reimund](https://avatars.githubusercontent.com/u/83687?v=4)](https://github.com/reimund "reimund (1 commits)")

---

Tags

operating-systemosphprecognitiondetectosoperating systemrecognizer

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/tdtrung17693-php-os-recognizer/health.svg)

```
[![Health](https://phpackages.com/badges/tdtrung17693-php-os-recognizer/health.svg)](https://phpackages.com/packages/tdtrung17693-php-os-recognizer)
```

###  Alternatives

[hisorange/browser-detect

Browser &amp; Mobile detection package for Laravel.

1.1k10.1M50](/packages/hisorange-browser-detect)[patrickschur/language-detection

A language detection library for PHP. Detects the language from a given text string.

8513.2M18](/packages/patrickschur-language-detection)[thadafinser/user-agent-parser

UserAgent parsing done right http://useragent.mkf.solutions/

249316.9k2](/packages/thadafinser-user-agent-parser)[jaybizzle/laravel-crawler-detect

A Laravel package to detect web crawlers via the user agent

3232.6M17](/packages/jaybizzle-laravel-crawler-detect)[unicodeveloper/laravel-identify

A Laravel 5 Package Provider to Identify/detect a user's browser, device, operating system and Language

19322.0k](/packages/unicodeveloper-laravel-identify)[tivie/php-os-detector

A small utility library that detects the OS the server is running on

201.6M11](/packages/tivie-php-os-detector)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
