Registry / utility / ua-parser-uap-php

ua-parser-uap-php

JSON →
library3.10.0phppackagistunverified

A multi-language port of Browserscope's user agent parser.

composer require ua-parser/uap-php
INSTALL
IMPORT
SIG · UA-PARSER-UAP-PHP
U
ua-parser-uap-php
utilityphpv3.10.0
harness data pending
Install & Compatibility
Where this runs

No compatibility data collected yet for this library.

Code
Verified usage

Verified import paths — ran on the pinned version, not inferred.

Parser
use UAParser\Parser;

Parse a user agent string to get browser, OS, and device info.

use UAParser\Parser; $parser = Parser::create(); $result = $parser->parse('Mozilla/5.0 ...');
Debug
Known issues
gotchaRegular expression updates may break parsing
fix
Keep the package updated to latest version
affects: >=3.0
Upgrade
Version history
3.10.0latest on Packagist
Audit
Dependencies

No dependency data recorded yet.

Agent activity
8 hits · last 30 days
node
8
Resources
ua-parser-uap-php — pip install ua-parser-uap-php · libregistry