PHPackages                             elife/api-problem - 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. [API Development](/categories/api)
4. /
5. elife/api-problem

ActiveLibrary[API Development](/categories/api)

elife/api-problem
=================

eLife Sciences RFC 7807 handler

v1.4.0(1y ago)115.1k↓50%[6 PRs](https://github.com/elifesciences/api-problem-php/pulls)1MITPHPPHP ^7.1 || ^8.0CI passing

Since Nov 6Pushed 3mo ago8 watchersCompare

[ Source](https://github.com/elifesciences/api-problem-php)[ Packagist](https://packagist.org/packages/elife/api-problem)[ RSS](/packages/elife-api-problem/feed)WikiDiscussions master Synced 1mo ago

READMEChangelog (6)Dependencies (9)Versions (14)Used By (1)

eLife API Problem PHP
=====================

[](#elife-api-problem-php)

[![Build Status](https://camo.githubusercontent.com/881979f441ba04a8972f6bc761ecbf561a422932b585374d6c4fc1263d114620/68747470733a2f2f63692d2d616c667265642e656c696665736369656e6365732e6f72672f6275696c645374617475732f69636f6e3f6a6f623d6c6962726172792d6170692d70726f626c656d2d706870)](https://ci--alfred.elifesciences.org/job/library-api-problem-php/)

This library provides a [RFC 7807 handler](https://tools.ietf.org/html/rfc7807) for the eLife Sciences applications.

Dependencies
------------

[](#dependencies)

- [Composer](https://getcomposer.org/)
- PHP 7

Installation
------------

[](#installation)

`composer require elife/api-problem`

Set up
------

[](#set-up)

### Silex

[](#silex)

```
use eLife\ApiProblem\Silex\ApiProblemProvider;

$app->register(new ApiProblemProvider());
```

Exception details (eg stacktrace) will be included based on the value of `$app['debug']`. This can be overridden by setting `$app['api_problem.factory.include_exception_details']` to `true` or `false`.

Running the tests
-----------------

[](#running-the-tests)

`vendor/bin/phpunit`

###  Health Score

49

—

FairBetter than 95% of packages

Maintenance63

Regular maintenance activity

Popularity27

Limited adoption so far

Community19

Small or concentrated contributor base

Maturity75

Established project with proven stability

 Bus Factor1

Top contributor holds 50% 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.

###  Release Activity

Cadence

Every ~519 days

Recently: every ~628 days

Total

6

Last Release

518d ago

PHP version history (3 changes)v1.0.0PHP ^7.0

1.2.0PHP &gt;=7.0

v1.3.1PHP ^7.1 || ^8.0

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/375812?v=4)[Scott Aubrey](/maintainers/scottaubrey)[@scottaubrey](https://github.com/scottaubrey)

---

Top Contributors

[![scottaubrey](https://avatars.githubusercontent.com/u/375812?v=4)](https://github.com/scottaubrey "scottaubrey (14 commits)")[![thewilkybarkid](https://avatars.githubusercontent.com/u/1784740?v=4)](https://github.com/thewilkybarkid "thewilkybarkid (5 commits)")[![nlisgo](https://avatars.githubusercontent.com/u/383397?v=4)](https://github.com/nlisgo "nlisgo (2 commits)")[![giorgiosironi](https://avatars.githubusercontent.com/u/160299?v=4)](https://github.com/giorgiosironi "giorgiosironi (2 commits)")[![renovate[bot]](https://avatars.githubusercontent.com/in/2740?v=4)](https://github.com/renovate[bot] "renovate[bot] (2 commits)")[![lsh-0](https://avatars.githubusercontent.com/u/2142748?v=4)](https://github.com/lsh-0 "lsh-0 (2 commits)")[![smoqadam](https://avatars.githubusercontent.com/u/1223848?v=4)](https://github.com/smoqadam "smoqadam (1 commits)")

###  Code Quality

TestsPHPUnit

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/elife-api-problem/health.svg)

```
[![Health](https://phpackages.com/badges/elife-api-problem/health.svg)](https://phpackages.com/packages/elife-api-problem)
```

###  Alternatives

[sylius/sylius

E-Commerce platform for PHP, based on Symfony framework.

8.4k5.6M651](/packages/sylius-sylius)[statamic/cms

The Statamic CMS Core Package

4.8k3.2M720](/packages/statamic-cms)[mjaschen/collmex

Collmex PHP SDK

2080.7k](/packages/mjaschen-collmex)[mapado/rest-client-sdk

Rest Client SDK for hydra API

1125.9k2](/packages/mapado-rest-client-sdk)[dragon-code/laravel-json-response

Automatically always return a response in JSON format

1118.6k1](/packages/dragon-code-laravel-json-response)

PHPackages © 2026

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