简体   繁体   中英

Scaffolding with Symfony2 + FOSRestBundle

I'm newbie with Symfony2 and I need create an REST web service. For each request from client the server should respond with a JSON. I choices FOSRestBundle to do it. Is there some way to Generate entities and their controllers with REST CRUD operations?

Maybe you could have a look at the documentation

$ php app/console generate:doctrine:crud

There are also 3rd party bundles to generate other things like CRUD for FOSRestBundle: voryx/restgeneratorbundle

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM