Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/graste/mediatypes

Dumb library of media types to use for content-type and accept header handling or API docs
https://github.com/graste/mediatypes

Last synced: 9 days ago
JSON representation

Dumb library of media types to use for content-type and accept header handling or API docs

Awesome Lists containing this project

README

        

# MediaTypes

NOTHING TO SEE HERE (YET). MOVE ALONG. :-D

* Latest Version: [![Latest Stable Version](https://poser.pugx.org/graste/mediatypes/version.png)](https://packagist.org/packages/graste/mediatypes)
* Build: [![Build Status](https://secure.travis-ci.org/graste/mediatypes.png)](http://travis-ci.org/graste/mediatypes)

Please have a look at the [available releases](https://github.com/graste/mediatypes/releases).

## Purpose

MediaTypes is a simple library that defines typical media types used in
hypermedia, mime types and REST related projects. The information may
e.g. be used to be returned to API consumers.

## Requirements and installation

- PHP v5.3+

Install the library via [Composer](http://getcomposer.org/):

```./composer.phar require graste/mediatypes [optional version]```

Adding it manually as a vendor library requirement to the `composer.json` file
of your project works as well:

```json
{
"require": {
"graste/mediatypes": "~0.1"
}
}
```

Alternatively, you can download a release archive from the [github releases](releases).

## Documentation

tbd.

## Community

None, but you may join the freenode IRC [`#environaut`](irc://irc.freenode.org/environaut) channel anytime. :-)

## Contributors

Please contribute by [forking](http://help.github.com/forking/) and sending a
[pull request](http://help.github.com/pull-requests/). More information can be
found in the [`CONTRIBUTING.md`](CONTRIBUTING.md) file.

## Changelog

See [`CHANGELOG.md`](CHANGELOG.md) for more information about changes.

## License

Creative Commons License
MediaTypes
is licensed under a Creative Commons Attribution-ShareAlike 3.0 Unported License.

CC-BY-SA-3.0 means, you are free to share, remix and make commercial use of the
work as long as you attribute and share alike. See [linked license](LICENSE.md) for details.

* Total Composer Downloads: [![Composer Downloads](https://poser.pugx.org/graste/mediatypes/d/total.png)](https://packagist.org/packages/graste/mediatypes)