[symfony] FOSRestBundle
https://github.com/nelmio/NelmioCorsBundle
NelmioCorsBundle
About
The NelmioCorsBundle allows you to send Cross-Origin Resource Sharing headers with ACL-style per-URL configuration.
If you want to have a global overview of CORS workflow, you can browse this image.
https://github.com/FriendsOfSymfony/FOSRestBundle
FOSRestBundle
This bundle provides various tools to rapidly develop RESTful API's & applications with Symfony. 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
http://symfony.com/doc/master/bundles/FOSRestBundle/index.html
https://github.com/gimler/symfony-rest-edition
留言
張貼留言