PHP Package: ua-parser/uap-php

The ua-parser/uap-php library provides user-agent parsing capabilities for PHP developers to identify browser, device, and operating system information efficiently.

Current Version: 3.9.14
Last Updated: Date not available
PHP Requirement: ^7.2 || ^8.0
Dependencies:
composer/semver
composer/autoload
⚠️ To ensure full functionality, the above dependencies might be required.

Package Description

The ua-parser/uap-php is a powerful PHP library that enables developers to extract detailed user-agent information with ease. By incorporating this library into your projects, you can enhance user experience by tailoring content specifically for different devices and browsers. With ua-parser/uap-php, you can effortlessly identify user details, such as browser type, operating system, and device model, to optimize your web applications.

📦 Show all available classes🔗 View on GitHub

Download Latest Version: 3.9.14

Download Download v3.9.14

Code Integration Example

Make sure to include the correct namespace and class paths for proper usage.

<?php
// Example from PHPlibraries.com
require_once 'libs/ua-parser/uap-php/3.9.14/loader.php';
require_once 'libs/composer/semver/3.4.3/loader.php';
require_once 'libs/composer/autoload/{lib_version}/loader.php';

use UAParser\Parser;
use UAParser\UserAgent;

$obj = new Parser();
echo '✅ Test OK: ' . get_class($obj);
?>

We aim to make using PHP packages easier without Composer. If something doesn't work, let us know — we'll fix it promptly.

Community Discussion

Ask questions, share tips, or report issues below.