L2 with Lumen framework How to build the project install packages. $ composer install run server. $ php -S localhost:8000 -t public # link API by http://localhost:8000 # link Swagger docs by http://localhost:8000/api/documentation Use this project API Project API Swagger Docs Included fields in the project API demo Swagger API docs & interactive UI PHP Unittest Swagger API Docs UI demo API docs demo References Lumen 10.x Document Swagger Examples