Skip to content
Permalink
Browse files

Update badges and README

  • Loading branch information...
NielsLeenheer committed Jul 12, 2017
1 parent 9e3e504 commit f0ad7c5019395df8e8c4917ab271d541ce05cfff
Showing with 23 additions and 7 deletions.
  1. +1 −1 CONTRIBUTING.md
  2. +1 −1 LICENSE
  3. +21 −5 README.md
@@ -1,7 +1,7 @@

# Pull requests

This project does continuous integration with [Travis](https://travis-ci.org/WhichBrowser/Parser/) and [Coveralls](https://coveralls.io/github/WhichBrowser/Parser). This means that every pull request must have the proper PSR-2 code standards and working unit tests. Please make sure your pull request passes all tests before submitting it.
This project does continuous integration with [Travis](https://travis-ci.org/WhichBrowser/Parser-PHP/) and [Coveralls](https://coveralls.io/github/WhichBrowser/Parser-PHP). This means that every pull request must have the proper PSR-2 code standards and working unit tests. Please make sure your pull request passes all tests before submitting it.

To test your coding style run:

@@ -1,4 +1,4 @@
Copyright (c) 2010-2015 Niels Leenheer
Copyright (c) 2010-2017 Niels Leenheer

Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
@@ -1,19 +1,35 @@
<img src="https://api.whichbrowser.net/whichbrowser.svg" width="400">

This is an extremely complicated and almost completely useless browser sniffing library written in PHP. Useless because you shouldn't use browser sniffing. So stop right now and go read something about feature detecting instead. I'm serious. Go away. You'll thank me later.
This is an extremely complicated and almost completely useless browser sniffing library. Useless because you shouldn't use browser sniffing. So stop right now and go read something about feature detecting instead. I'm serious. Go away. You'll thank me later.

[![Build Status](https://travis-ci.org/WhichBrowser/Parser.svg?branch=master)](https://travis-ci.org/WhichBrowser/Parser)
[![Coverage Status](https://coveralls.io/repos/WhichBrowser/Parser/badge.svg?branch=master&service=github)](https://coveralls.io/github/WhichBrowser/Parser?branch=master)

WhichBrowser/Parser-PHP
=======================

The PHP version of WhichBrowser for use on a server. Fully compatible with PHP 5.4 or higher, including PHP 7 and HHVM.

[![Build Status](https://travis-ci.org/WhichBrowser/Parser-PHP.svg?branch=master)](https://travis-ci.org/WhichBrowser/Parser)
[![Coverage Status](https://coveralls.io/repos/WhichBrowser/Parser-PHP/badge.svg?branch=master&service=github)](https://coveralls.io/github/WhichBrowser/Parser-PHP?branch=master)
[![License](https://poser.pugx.org/whichbrowser/parser/license)](https://packagist.org/packages/whichbrowser/parser)
[![Latest Stable Version](https://poser.pugx.org/whichbrowser/parser/v/stable)](https://packagist.org/packages/whichbrowser/parser)

[![Twitter Follow](https://img.shields.io/twitter/follow/whichbrowserlib.svg?style=social)](https://twitter.com/whichbrowserlib)

If you are looking for the JavaScript API for WhichBrowser, please go to the [WhichBrowser/Server](https://github.com/WhichBrowser/Server) project.
Also available:

- [WhichBrowser/Parser-JavaScript](https://github.com/WhichBrowser/Parser-JavaScript)<br>
A JavaScript version of WhichBrowser for use with Node.js on the server

- [WhichBrowser/Server](https://github.com/WhichBrowser/Parser-JavaScript)<br>
A server written in PHP that provides a JavaScript API for use in the browser

---

**But why *almost completely useless* and not completely useless?**

About WhichBrowser
------------------

**But why *almost completely useless* and not completely useless?**
Well, there is always an exception to the rule. There are valid reasons to do browser sniffing: to improve the user experience or to gather intelligence about which browsers are used on your website. My website is html5test.com and I wanted to know which score belongs to which browser. And to do that you need a browser sniffing library.

**Why is it extremely complicated?**

0 comments on commit f0ad7c5

Please sign in to comment.
You can’t perform that action at this time.