Do I need a framework to build a REST API in PHP?

后端 未结 8 908
情歌与酒
情歌与酒 2020-12-23 11:27

I am fairly new to PHP (about 8 months). I am building a web app, which is almost ready for beta. I am only now starting to think about what I would need to do to make a mob

8条回答
  •  -上瘾入骨i
    2020-12-23 11:55

    There are also tools that create a REST api from the DB without the need for extra code.

    If you are using Postgres there is the excellent program postgREST that

    serves a fully RESTful API from any existing PostgreSQL database. It provides a cleaner, more standards-compliant, faster API than you are likely to write from scratch.

提交回复
热议问题