PHPackages                             ellipse/negotiation - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Utility &amp; Helpers](/categories/utility)
4. /
5. ellipse/negotiation

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

ellipse/negotiation
===================

Content negotiation package

043PHP

Since Dec 3Pushed 8y ago1 watchersCompare

[ Source](https://github.com/ellipsephp/negotiation)[ Packagist](https://packagist.org/packages/ellipse/negotiation)[ RSS](/packages/ellipse-negotiation/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

Negotiation
===========

[](#negotiation)

This package provides a content negotiation mechanism, using the [willdurand/negotiation](https://github.com/willdurand/Negotiation) package. It allows to choose one Psr-7 response factory based on a Psr-7 request accept header.

**Require** php &gt;= 7.1

**Installation** `composer require ellipse/negotiation`

**Run tests** `./vendor/bin/kahlan`

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/db7822d2301c3f0e77c079ebd1c650955c7b265f785f28703d3803b09b7ab072?d=identicon)[pmall](/maintainers/pmall)

---

Top Contributors

[![pmall](https://avatars.githubusercontent.com/u/741677?v=4)](https://github.com/pmall "pmall (9 commits)")

---

Tags

content-negotiationpsr-7

### Embed Badge

![Health badge](/badges/ellipse-negotiation/health.svg)

```
[![Health](https://phpackages.com/badges/ellipse-negotiation/health.svg)](https://phpackages.com/packages/ellipse-negotiation)
```

###  Alternatives

[jordanmiguel/laravel-popular

A Laravel package to track popularity of entries(by Models) in a website at a certain time.

659.6k1](/packages/jordanmiguel-laravel-popular)[jaaulde/php-ipv4

PHP classes for working with IPV4 addresses and networks.

1034.6k](/packages/jaaulde-php-ipv4)[ip2location/ip2location-cakephp

Lookup for visitor's IP information, such as country, region, city, coordinates, zip code, time zone, ISP, domain name, connection type, area code, weather, MCC, MNC, mobile brand name, elevation and usage type.

224.6k](/packages/ip2location-ip2location-cakephp)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
