/L2-Lumen

This project shows how to use Lumen, PHP UnitTest, and Swagger to build your own RESTful API project.

Primary LanguagePHP

L2 with Lumen framework

How to build the project

  1. install packages.
$ composer install
  1. 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

Included fields in the project

  • API demo
  • Swagger API docs & interactive UI
  • PHP Unittest

Swagger API Docs

  • UI demo UI demo
  • API docs demo API docs demo

References