PHPackages                             mediamonks/rest-api - 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. [HTTP &amp; Networking](/categories/http)
4. /
5. mediamonks/rest-api

ActiveLibrary[HTTP &amp; Networking](/categories/http)

mediamonks/rest-api
===================

MediaMonks Rest API

2.3.0(3y ago)1351.3k7[1 PRs](https://github.com/mediamonks/php-rest-api/pulls)1MITPHPPHP &gt;=8.0

Since Feb 1Pushed 2y ago6 watchersCompare

[ Source](https://github.com/mediamonks/php-rest-api)[ Packagist](https://packagist.org/packages/mediamonks/rest-api)[ Docs](https://www.mediamonks.com/)[ RSS](/packages/mediamonks-rest-api/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependencies (5)Versions (9)Used By (1)

[![Build Status](https://camo.githubusercontent.com/82aeb37f62f53f04328fc07190cb59eaeb23c43e92396a4363bfc7fad7394837/68747470733a2f2f696d672e736869656c64732e696f2f6769746875622f776f726b666c6f772f7374617475732f6d656469616d6f6e6b732f7068702d726573742d6170692f43493f6c6162656c3d4349266c6f676f3d676974687562267374796c653d666c61742d737175617265)](https://github.com/mediamonks/php-rest-api/actions?query=workflow%3ACI)[![Code Coverage](https://camo.githubusercontent.com/3a5f449b8e13d268e587f61b0f12957c3173dbd556e94b86cb6a6d9a948fd5ac/68747470733a2f2f696d672e736869656c64732e696f2f636f6465636f762f632f67682f6d656469616d6f6e6b732f7068702d726573742d6170693f6c6162656c3d636f6465636f76266c6f676f3d636f6465636f76267374796c653d666c61742d737175617265)](https://codecov.io/gh/mediamonks/php-rest-api)[![Total Downloads](https://camo.githubusercontent.com/8c672f436de5260617a8e4b34efa53ef608d0fc4447d05a0e2eafe8a1f3f42f3/68747470733a2f2f706f7365722e707567782e6f72672f6d656469616d6f6e6b732f726573742d6170692f646f776e6c6f616473)](https://packagist.org/packages/mediamonks/rest-api)[![Latest Stable Version](https://camo.githubusercontent.com/a58b91a4e35d0e9df25df391bb3277ce50c4a7cf2e80718b75bd445c02374fff/68747470733a2f2f706f7365722e707567782e6f72672f6d656469616d6f6e6b732f726573742d6170692f762f737461626c65)](https://packagist.org/packages/mediamonks/rest-api)[![Latest Unstable Version](https://camo.githubusercontent.com/78bd7cbda5b2b094e268b979192edc9641cebbd500822edf7ccb6ee9d7f59abe/68747470733a2f2f706f7365722e707567782e6f72672f6d656469616d6f6e6b732f726573742d6170692f762f756e737461626c65)](https://packagist.org/packages/mediamonks/rest-api)[![License](https://camo.githubusercontent.com/e7ac4afa84a572f4a7dc16f8a7cb36142306988911f8b8b0e562aaeb8f1abec0/68747470733a2f2f706f7365722e707567782e6f72672f6d656469616d6f6e6b732f726573742d6170692f6c6963656e7365)](https://packagist.org/packages/mediamonks/rest-api)

MediaMonks Rest API
===================

[](#mediamonks-rest-api)

This library contains an event subscriber to easily create a Rest API with the [Symfony HttpKernel](http://symfony.com/doc/current/components/http_kernel.html). By default this library will output according to our [MediaMonks Rest API spec](https://github.com/mediamonks/documents) but since we believe it could be very useful for other companies too it's very easy to extend it or implement your own.

Highlights
----------

[](#highlights)

- Thrown exceptions will be converted automatically
- Supports custom serializers like JMS, uses json serializer by default
- Supports custom response models
- Supports application/json, application/x-www-form-urlencoded &amp; multipart/form-data input
- Supports method overriding
- Supports forcing a "200 OK" status method
- Supports paginated responses
- Supports wrapping json response in a method (jsonp) and post message
- Should work with any framework that uses HttpKernel

Documentation
-------------

[](#documentation)

Documentation and examples can be found in the [/docs](/docs) folder.

Requirements
------------

[](#requirements)

- PHP &gt;= 8.0

To use the library.

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

[](#installation)

For Symfony Framework users it is recommended to install the [Rest API Bundle](https://github.com/mediamonks/symfony-rest-api-bundle) instead of this library.

Install this package by using Composer.

```
$ composer require mediamonks/rest-api

```

Security
--------

[](#security)

If you discover any security related issues, please email  instead of using the issue tracker.

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE) for more information.

###  Health Score

40

—

FairBetter than 88% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity33

Limited adoption so far

Community21

Small or concentrated contributor base

Maturity73

Established project with proven stability

 Bus Factor2

2 contributors hold 50%+ of commits

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 ~360 days

Recently: every ~419 days

Total

7

Last Release

1232d ago

Major Versions

1.0.2 → 2.0.02019-11-29

PHP version history (5 changes)v1.0.0PHP ^5.4|~7.0

1.0.1PHP ^5.4|^7.0

2.0.0PHP ^7.1

2.2.1PHP ^7.1 || ^8.0

2.3.0PHP &gt;=8.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/411c94cbec325fa9a747f4677bb07355b374a0f01008e48c33f809627004fa5d?d=identicon)[mediamonks](/maintainers/mediamonks)

---

Top Contributors

[![mediamonks-robert](https://avatars.githubusercontent.com/u/7644785?v=4)](https://github.com/mediamonks-robert "mediamonks-robert (28 commits)")[![slootjes](https://avatars.githubusercontent.com/u/17158090?v=4)](https://github.com/slootjes "slootjes (15 commits)")[![Edwin-Luijten](https://avatars.githubusercontent.com/u/1339637?v=4)](https://github.com/Edwin-Luijten "Edwin-Luijten (13 commits)")[![sral97](https://avatars.githubusercontent.com/u/15197493?v=4)](https://github.com/sral97 "sral97 (9 commits)")[![csizmazia](https://avatars.githubusercontent.com/u/2581924?v=4)](https://github.com/csizmazia "csizmazia (2 commits)")[![mm-devmonk](https://avatars.githubusercontent.com/u/8170192?v=4)](https://github.com/mm-devmonk "mm-devmonk (1 commits)")

---

Tags

drupaldrupal-8httpkerneljsonphpsymfonysymfony-httpkernelapisymfonybundlerest

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/mediamonks-rest-api/health.svg)

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

###  Alternatives

[lexik/jwt-authentication-bundle

This bundle provides JWT authentication for your Symfony REST API

2.6k58.7M210](/packages/lexik-jwt-authentication-bundle)[api-platform/core

Build a fully-featured hypermedia or GraphQL API in minutes!

2.6k48.1M236](/packages/api-platform-core)[cypresslab/patch-manager

A library to manage patch requests

16117.4k](/packages/cypresslab-patch-manager)[mediamonks/rest-api-bundle

MediaMonks Rest API Symfony Bundle

1656.2k1](/packages/mediamonks-rest-api-bundle)

PHPackages © 2026

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