aura/accept

Provides content-negotiation tools using Accept* headers.

4.0.0 2022-03-26 05:26 UTC

This package is auto-updated.

Last update: 2022-04-26 05:36:15 UTC


README

Provides content-negotiation tools using Accept* headers.

Installation and Autoloading

This package is installable and PSR-4 autoloadable via Composer as aura/accept.

Alternatively, download a release, or clone this repository, then map the Aura\Accept\ namespace to the package src/ directory.

Dependencies

This package requires PHP 7.2 or later. It has been tested on PHP 7.2 - 8.1. We recommend using the latest available version of PHP as a matter of principle.

Aura library packages may sometimes depend on external interfaces, but never on external implementations. This allows compliance with community standards without compromising flexibility. For specifics, please examine the package composer.json file.

Quality

Scrutinizer Code Quality codecov Continuous Integration

To run the PHPUnit unit tests at the command line, issue composer install and then vendor/bin/phpunit at the package root. This requires Composer to be available as composer.

This library attempts to comply with PSR-1, PSR-2, and PSR-4. If you notice compliance oversights, please send a patch via pull request.

Community

To ask questions, provide feedback, or otherwise communicate with the Aura community, please join our Google Group, follow @auraphp on Twitter, or chat with us on #auraphp on Freenode.

Documentation

This package is fully documented here.