A Symfony 2 plugin by FriendsOfSymfony (FOS) which provides various tools to rapidly develop RESTful API's with Symfony 2.
A Symfony 2 bundle by FriendsOfSymfony (FOS) which provides various tools to rapidly developer RESTful API's with Symfony 2.
Its features include:
- A View layer to enable output and format agnostic Controllers
- A custom route loader to generate url's following REST conventions
- Accept header format negotiation including handling for custom mime types
- RESTful decoding of HTTP request body and Accept headers
- Exception controller for sending appropriate HTTP status codes
Links:
- Project on GitHub
- RESTing with Symfony Google group - useful community discussions on FOSUserBundle and the state of REST in Symfony
- William Durand's REST APIs with Symfony2: The Right Way - a comprehensive guide on REST in the context of Symfony and FOSRestBundle