jdecano/x-parser

There is no license information available for the latest version (1.0) of this package.

User Agent Parser

Installs: 110

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

pkg:composer/jdecano/x-parser

1.0 2015-09-10 05:14 UTC

This package is not auto-updated.

Last update: 2025-10-15 14:00:40 UTC


README

A Very Handy User Agent Parser for Everyone

<?php
require_once __DIR__.'/../../vendor/autoload.php';
$user_agent = "Mozilla/5.0 (X11; Linux x86_64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/45.0.2454.85 Safari/537.36";
use Jdecano\XParser;
//////// Lets GO!!!
$parser = new XParser($user_agent);
echo '<pre>';
print_r($parser->engine());