Skip to content

Commit

Permalink
Readme
Browse files Browse the repository at this point in the history
  • Loading branch information
Synchro committed Jul 13, 2020
1 parent 0ef2c47 commit 92a8a62
Showing 1 changed file with 10 additions and 24 deletions.
34 changes: 10 additions & 24 deletions README.md
Original file line number Diff line number Diff line change
@@ -1,20 +1,14 @@
#UASparser
# UASparser — A User Agent String parser for PHP

**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.**

[![Build Status](https://travis-ci.org/Synchro/UASparser.png?branch=master)](https://travis-ci.org/Synchro/UASparser)
[![Coverage Status](https://coveralls.io/repos/Synchro/UASparser/badge.png?branch=master)](https://coveralls.io/r/Synchro/UASparser?branch=master)
[![Dependency Status](https://www.versioneye.com/php/Synchro:UASparser/dev-master/badge.png)](https://www.versioneye.com/php/Synchro:UASparser/dev-master)
[![Depending Status](http://depending.in/Synchro/UASparser.png)](http://depending.in/Synchro/UASparser)
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](https://github.com/serbanghita/Mobile-Detect).

[![Scrutinizer Quality Score](https://scrutinizer-ci.com/g/Synchro/UASparser/badges/quality-score.png?s=0fb01793b5e8a32d39d659ffa122b1ea0c525b0e)](https://scrutinizer-ci.com/g/Synchro/UASparser/)
[![Code Coverage](https://scrutinizer-ci.com/g/Synchro/UASparser/badges/coverage.png?s=57c1f76304ab8d9a53bed5188a06711db5327fdd)](https://scrutinizer-ci.com/g/Synchro/UASparser/)
[![Build Status](https://travis-ci.org/Synchro/UASparser.png?branch=master)](https://travis-ci.org/Synchro/UASparser)

[![Latest Stable Version](https://poser.pugx.org/Synchro/UASparser/v/stable.png)](https://packagist.org/packages/Synchro/UASparser)
[![Latest Unstable Version](https://poser.pugx.org/Synchro/UASparser/v/unstable.png)](https://packagist.org/packages/Synchro/UASparser)

[![Bitdeli Badge](https://d2weczhvl823v0.cloudfront.net/Synchro/uasparser/trend.png)](https://bitdeli.com/free "Bitdeli Badge")

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/
Expand All @@ -25,20 +19,12 @@ This version improved by [Marcus Bointon](https://github.com/Synchro):

* [Maintained on GitHub](https://github.com/Synchro/UASparser)
* [Published on packagist.org](https://packagist.org/packages/synchro/uasparser)
* Creates a UAS namespace
* Adds unit tests
* Adds Travis config
* Removes the view source option for security
* Makes the downloadData function public so it can be done on demand
* Uses the system temp dir for default cache location
* Cleans up phpdocs
* Reformats code in PSR-2 style
* Fixes poor code in the example script
* Improves error handling and debugging, adds variable timeouts
* Adds support for gzip compression of database downloads
* Adds PSR-0 autoload config

##Documentation
* "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](changelog.md).

Expand Down

0 comments on commit 92a8a62

Please sign in to comment.