Save entities to a REST API instead of DB using Doctrine 2

前端 未结 6 680
半阙折子戏
半阙折子戏 2021-02-02 10:00

This is related to my other question: Persisting entities using a REST API.

For a project in Symfony2 I need to be able to persist entities using an remote (third-pa

6条回答
  •  小鲜肉
    小鲜肉 (楼主)
    2021-02-02 10:26

    I wanted to do a similar thing, so I built this library to help expose doctrine entities as RESTful resources. It has a fair amount of features, and allows you to define exactly what you want to have exposed via both pull (GET) and push (POST/PUT/PATCH) methods.

    http://leedavis81.github.io/drest/

    https://github.com/leedavis81/drest

    Hope it helps

提交回复
热议问题