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

后端 未结 8 907
情歌与酒
情歌与酒 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条回答
  •  自闭症患者
    2020-12-23 11:48

    Not necessarily, you don't really need a framework for anything! The framework is made just to provide you with tools to help building your projects faster. These days in most cases it is smarter to use a framework, cause who likes to reinvent the wheel!

    Since you are a PHP developer and the best answer suggests to take a look Laravel, I would also suggest that you to take a look at Apiato (apiato.io), this is a PHP API framework built on top of Laravel. It lets you create your API way faster than starting with a vanilla Laravel, as it provides you with tens of features that you already need for every API.

提交回复
热议问题