liuliuOD / L2-Lumen

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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


Languages

Language:PHP 87.2%Language:Blade 12.8%