Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/geosocio/http-serializer-bundle
Symfony Bundle for Serializing Http Requests & Responses
https://github.com/geosocio/http-serializer-bundle
php symfony symfony-bundle symfony-serializer
Last synced: about 1 month ago
JSON representation
Symfony Bundle for Serializing Http Requests & Responses
- Host: GitHub
- URL: https://github.com/geosocio/http-serializer-bundle
- Owner: geosocio
- License: mit
- Created: 2017-07-30T18:19:41.000Z (over 7 years ago)
- Default Branch: develop
- Last Pushed: 2018-03-11T07:13:11.000Z (almost 7 years ago)
- Last Synced: 2024-08-16T15:09:45.435Z (4 months ago)
- Topics: php, symfony, symfony-bundle, symfony-serializer
- Language: PHP
- Size: 19.5 KB
- Stars: 2
- Watchers: 2
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Http Serializer Bundle [![Build Status](https://travis-ci.org/geosocio/http-serializer-bundle.svg?branch=develop)](https://travis-ci.org/geosocio/http-serializer-bundle) [![Coverage Status](https://coveralls.io/repos/github/geosocio/http-serializer-bundle/badge.svg)](https://coveralls.io/github/geosocio/http-serializer-bundle)
A Symfony Bundle for the [Http Serializer](https://github.com/geosocio/http-serializer) library.## Configuration
```yaml
geosocio_http_serializer:
# Default format exceptions should be rendered in. This null by default.
default_format: 'json'
```## Group Resolvers
You may tag services with either
`geosocio_http_serializer.request_group_resolver` or
`geosocio_http_serializer.response_group_resolver` to add the service as a Group
Resolver. The service must implement
`GeoSocio\HttpSerializer\GroupResolver\RequestGroupResolverInterface` or
`GeoSocio\HttpSerializer\GroupResolver\ResponseGroupResolverInterface`
respectively.