GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — GitHub - Synchro/UASparser: User Agent String parser for PHP from user-agent-string.info

BranchesTags
Open more actions menu

Latest commit

 

History

82 Commits
82 Commits

Folders and files

NameName
Last commit message
Last commit date
Tests
Tests
 
 
UAS
UAS
 
 
.gitignore
.gitignore
 
 
.phpcs.xml
.phpcs.xml
 
 
.travis.yml
.travis.yml
 
 
README.md
README.md
 
 
UASparser_example.phps
UASparser_example.phps
 
 
changelog.md
changelog.md
 
 
composer.json
composer.json
 
 
license.txt
license.txt
 
 
phpunit.xml.dist
phpunit.xml.dist
 
 

Repository files navigation

UASparser — A User Agent String parser for PHP

Important: while the code in this package is functional, it's no longer any use because the data source at user-agent-string.info (now udger.com) it relied on is no longer available.

It may work with udger.com's commercial data sources, but that's not available to test with; I recommend you switch to a different system such as Mobile-Detect.

Build Status Latest Stable Version Latest Unstable Version

This is a parser and classifier for user agent strings presented by HTTP clients.

This code is based on the libraries by Jaroslav Mallat available from http://user-agent-string.info/

Licensed under the LGPL, see license.txt for details.

This version improved by Marcus Bointon:

  • Maintained on GitHub
  • Published on packagist.org
  • "Runs" under PHP 7.3 and up.
  • Uses the UAS namespace
  • Reformatted code in PSR-12 style
  • PSR-4 autoloading

Documentation

Release notes may be found in the changelog.

Generate PHPDocs like this:

phpdoc --directory UAS --target ./phpdoc --ignore Tests/ --sourcecode --force --title UASParser

About

User Agent String parser for PHP from user-agent-string.info

Resources

Readme
LGPL-2.1 license
Activity

Stars

20 stars

Watchers

3 watching

Forks

9 forks
Report repository

Releases

Packages

Used by

Contributors

Languages

You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.