A small hypermedia api with symfony2.