PHPackages                             dopesong/user-agent-middleware - 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. dopesong/user-agent-middleware

ActiveLibrary

dopesong/user-agent-middleware
==============================

PSR-7 Middleware that determines the client User agent and stores it as an ServerRequest attribute

0.1(10y ago)023.5kBSD-3-ClausePHP

Since Jan 7Pushed 10y ago1 watchersCompare

[ Source](https://github.com/dopesong/user-agent-middleware)[ Packagist](https://packagist.org/packages/dopesong/user-agent-middleware)[ Docs](http://github.com/dopesong/user-agent-middleware)[ RSS](/packages/dopesong-user-agent-middleware/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/dopesong/user-agent-middleware).

###  Health Score

29

—

LowBetter than 60% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity22

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity53

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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

3775d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/cca7a147ebbebf0501dd9505b44f16e5a1859a1791d3bf98423ae0245951fa21?d=identicon)[dopesong](/maintainers/dopesong)

---

Top Contributors

[![dopesong](https://avatars.githubusercontent.com/u/7201955?v=4)](https://github.com/dopesong "dopesong (1 commits)")

---

Tags

middlewarepsr7userAgent

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/dopesong-user-agent-middleware/health.svg)

```
[![Health](https://phpackages.com/badges/dopesong-user-agent-middleware/health.svg)](https://phpackages.com/packages/dopesong-user-agent-middleware)
```

###  Alternatives

[akrabat/ip-address-middleware

PSR-15 middleware that determines the client IP address and stores it as a ServerRequest attribute

1702.5M18](/packages/akrabat-ip-address-middleware)[akrabat/proxy-detection-middleware

PSR-7/PSR-15 Middleware that determines the scheme, host and port from the 'X-Forwarded-Proto', 'X-Forwarded-Host' and 'X-Forwarded-Port' headers and updates the Request's Uri object.

3190.4k1](/packages/akrabat-proxy-detection-middleware)[phps-cans/psr7-middleware-graphql

This package contains a http-interop middleware implementation to handle graphql request

1528.7k](/packages/phps-cans-psr7-middleware-graphql)[mtymek/blast-base-url

PSR-7 middleware and helpers for working with base URL.

1054.0k3](/packages/mtymek-blast-base-url)[prooph/http-middleware

http middleware for prooph components

1145.0k](/packages/prooph-http-middleware)[compwright/php-session

Standalone session implementation that does not rely on the PHP session module or the $\_SESSION global, ideal for ReactPHP applications

189.4k](/packages/compwright-php-session)

PHPackages © 2026

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