{"id":20862382,"url":"https://github.com/mediamonks/php-rest-api","last_synced_at":"2025-10-29T19:45:07.872Z","repository":{"id":43642862,"uuid":"80404191","full_name":"mediamonks/php-rest-api","owner":"mediamonks","description":"Implement a RESTful API with the Symfony HttpKernel","archived":false,"fork":false,"pushed_at":"2023-08-10T11:44:53.000Z","size":125,"stargazers_count":13,"open_issues_count":1,"forks_count":7,"subscribers_count":7,"default_branch":"master","last_synced_at":"2025-04-17T14:44:27.016Z","etag":null,"topics":["drupal","drupal-8","httpkernel","json","php","symfony","symfony-httpkernel"],"latest_commit_sha":null,"homepage":"","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/mediamonks.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-01-30T08:23:24.000Z","updated_at":"2022-08-11T11:13:46.000Z","dependencies_parsed_at":"2024-06-21T05:45:10.045Z","dependency_job_id":"12238491-41bd-495b-9476-86f391df2a95","html_url":"https://github.com/mediamonks/php-rest-api","commit_stats":{"total_commits":63,"total_committers":6,"mean_commits":10.5,"dds":0.5555555555555556,"last_synced_commit":"f80ab9aab5160755e07bd0dcf614564461bb1f65"},"previous_names":[],"tags_count":8,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fphp-rest-api","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fphp-rest-api/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fphp-rest-api/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mediamonks%2Fphp-rest-api/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mediamonks","download_url":"https://codeload.github.com/mediamonks/php-rest-api/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":253709143,"owners_count":21951108,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["drupal","drupal-8","httpkernel","json","php","symfony","symfony-httpkernel"],"created_at":"2024-11-18T05:21:16.656Z","updated_at":"2025-10-14T23:25:22.167Z","avatar_url":"https://github.com/mediamonks.png","language":"PHP","readme":"[![Build Status](https://img.shields.io/github/workflow/status/mediamonks/php-rest-api/CI?label=CI\u0026logo=github\u0026style=flat-square)](https://github.com/mediamonks/php-rest-api/actions?query=workflow%3ACI)\n[![Code Coverage](https://img.shields.io/codecov/c/gh/mediamonks/php-rest-api?label=codecov\u0026logo=codecov\u0026style=flat-square)](https://codecov.io/gh/mediamonks/php-rest-api)\n[![Total Downloads](https://poser.pugx.org/mediamonks/rest-api/downloads)](https://packagist.org/packages/mediamonks/rest-api)\n[![Latest Stable Version](https://poser.pugx.org/mediamonks/rest-api/v/stable)](https://packagist.org/packages/mediamonks/rest-api)\n[![Latest Unstable Version](https://poser.pugx.org/mediamonks/rest-api/v/unstable)](https://packagist.org/packages/mediamonks/rest-api)\n[![License](https://poser.pugx.org/mediamonks/rest-api/license)](https://packagist.org/packages/mediamonks/rest-api)\n\n# MediaMonks Rest API\n\nThis library contains an event subscriber to easily create a Rest API with the [Symfony HttpKernel](http://symfony.com/doc/current/components/http_kernel.html). \nBy 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.\n\n## Highlights\n\n- Thrown exceptions will be converted automatically\n- Supports custom serializers like JMS, uses json serializer by default\n- Supports custom response models\n- Supports application/json, application/x-www-form-urlencoded \u0026 multipart/form-data input\n- Supports method overriding\n- Supports forcing a \"200 OK\" status method\n- Supports paginated responses\n- Supports wrapping json response in a method (jsonp) and post message\n- Should work with any framework that uses HttpKernel\n\n## Documentation\n\nDocumentation and examples can be found in the [/docs](/docs) folder.\n\n## Requirements\n\n- PHP \u003e= 8.0\n\nTo use the library.\n\n## Installation\n\nFor Symfony Framework users it is recommended to install the [Rest API Bundle](https://github.com/mediamonks/symfony-rest-api-bundle) instead of this library.\n\nInstall this package by using Composer.\n\n```\n$ composer require mediamonks/rest-api\n```\n\n## Security\n\nIf you discover any security related issues, please email devmonk@mediamonks.com instead of using the issue tracker.\n\n## License\n\nThe MIT License (MIT). Please see [License File](LICENSE) for more information.\n","funding_links":[],"categories":[],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediamonks%2Fphp-rest-api","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmediamonks%2Fphp-rest-api","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmediamonks%2Fphp-rest-api/lists"}