aura / accept
Provides content-negotiation tools using Accept* headers.
Installs: 489 969
Dependents: 9
Suggesters: 0
Security: 0
Stars: 35
Watchers: 12
Forks: 8
Open Issues: 0
Requires
- php: ^7.2 || ^8.0
Requires (Dev)
- yoast/phpunit-polyfills: ^1.0
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
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.