zanconsulting / http-api-bundle
Zan Symfony 2 HttpApiBundle
Installs: 31
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
Type:symfony-bundle
Requires
- php: >=5.3.2
- jms/serializer-bundle: 0.13.*
- symfony/framework-bundle: ~2.2
This package is auto-updated.
Last update: 2024-04-28 10:12:57 UTC
README
Easily add a json-based REST api to Symfony 2
This bundle makes it easy to set up an API that communicates via JSON-encoded requests and responses.
Requests either use the GET method or have a json-encoded set of parameters in the body of the request.
Responses are json-encoded.
Features
- Controllers return data as arrays or anything that JMS Serializer can process
- Request data is automatically processed to appear as normal POST parameters
ToDo
- Pretty much everything, this is an early WIP