geosocio / http-serializer-bundle
Symfony Bundle for Serializing Http Requests & Responses
Installs: 456
Dependents: 0
Suggesters: 0
Security: 0
Stars: 2
Watchers: 2
Forks: 2
Open Issues: 1
Type:symfony-bundle
Requires
- geosocio/http-serializer: ^5.0.0
- symfony/config: ^3.0|^4.0
- symfony/dependency-injection: ^3.0|^4.0
- symfony/http-kernel: ^3.0|^4.0
Requires (Dev)
- phpunit/phpunit: ^6.2
- squizlabs/php_codesniffer: ^3.0
- symfony/var-dumper: ^3.3|^4.0
This package is auto-updated.
Last update: 2024-11-12 01:19:48 UTC
README
A Symfony Bundle for the Http Serializer library.
Configuration
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.