Auto documenting REST API in PHP

前端 未结 5 650
被撕碎了的回忆
被撕碎了的回忆 2020-12-24 07:14

phpDocumentor seems to be the standard for documenting PHP code, though I have to wonder why it hasn\'t been updated in years..?

However, it does not seem suitable f

5条回答
  •  一生所求
    2020-12-24 07:45

    Swagger seems promising but it will require your API expose itself in a compatible manner... it is quite nice, however, with a test console, etc all built-in... you can download a javascript version and run it on your server alongside the php api.

    EDIT: here is the link, it isnt so easy to find on google if you dont have the full name... lol... Swagger-UI: https://github.com/wordnik/swagger-ui

提交回复
热议问题