Skip to content

Commit ddae6bc

Browse files
committed
Updating documentation in README
1 parent dca4fee commit ddae6bc

1 file changed

Lines changed: 9 additions & 6 deletions

File tree

README.md

Lines changed: 9 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,9 @@
11
# Bitworking\Mimeparse
22

33
[![Build Status](https://secure.travis-ci.org/ramsey/mimeparse.png)](http://travis-ci.org/ramsey/mimeparse)
4+
[![Latest Stable Version](https://poser.pugx.org/bitworking/mimeparse/v/stable.png)](https://packagist.org/packages/bitworking/mimeparse)
5+
[![Latest Unstable Version](https://poser.pugx.org/bitworking/mimeparse/v/unstable.png)](https://packagist.org/packages/bitworking/mimeparse)
6+
[![Total Downloads](https://poser.pugx.org/bitworking/mimeparse/downloads.png)](https://packagist.org/packages/bitworking/mimeparse)
47

58
This library provides basic functionality for parsing mime-types names and
69
matching them against a list of media-ranges. See [section 14.1][http-accept] of
@@ -9,8 +12,8 @@ information on the library can be found in the XML.com article
912
"[Just use Media Types?][jgregorio-restful]"
1013

1114
This library was taken from the [original mimeparse library][mimeparse]
12-
on Google Project Hosting and has been cleaned up to conform to [PSR-0][],
13-
[PSR-1][], and [PSR-2][] standards. It also now has support for [Composer][].
15+
on Google Project Hosting and has been cleaned up to conform to [PSR-1][],
16+
[PSR-2][], and [PSR-4][] standards. It also now has support for [Composer][].
1417
The Bitworking namespace is a nod to [Joe Gregorio][jgregorio], the original
1518
author of this library.
1619

@@ -49,7 +52,7 @@ and install the latest version of the Mimeparse library into your project:
4952
```json
5053
{
5154
"require": {
52-
"bitworking/mimeparse": "*"
55+
"bitworking/mimeparse": "~2.1"
5356
}
5457
}
5558
```
@@ -59,9 +62,9 @@ and install the latest version of the Mimeparse library into your project:
5962
[http]: http://tools.ietf.org/html/rfc2616
6063
[jgregorio-restful]: http://www.xml.com/pub/a/2005/06/08/restful.html
6164
[mimeparse]: http://code.google.com/p/mimeparse/
62-
[PSR-0]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-0.md
63-
[PSR-1]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-1-basic-coding-standard.md
64-
[PSR-2]: https://github.com/php-fig/fig-standards/blob/master/accepted/PSR-2-coding-style-guide.md
65+
[PSR-1]: http://www.php-fig.org/psr/psr-1/
66+
[PSR-2]: http://www.php-fig.org/psr/psr-2/
67+
[PSR-4]: http://www.php-fig.org/psr/psr-4/
6568
[composer]: http://getcomposer.org/
6669
[jgregorio]: http://bitworking.org/
6770
[packagist]: http://packagist.org/

0 commit comments

Comments
 (0)