A demo of swagger API exlorer with laravel.
Reference from: https://www.marcoraddatz.com/en/2015/07/21/integrate-swagger-into-laravel/
To run this Project
- Clone or download this repository
- Then install dependecies by compposer install
- Add your api in Api package and extends it by ApiController class.
After modifying any file you have to genrate the API JSON so that swagger can understand it
Run this from your project directory
./vendor/bin/swagger app/Http --output public/api/
For more info about swagger annotation check it here: https://github.com/zircote/swagger-php