This is a repository for the tutorial: Laravel API Documentation with OpenAPI/Swagger
Base API structure and adminpanel was created with our Laravel generator QuickAdminPanel.
- Clone the repository with git clone
- Copy .env.example file to .env and edit database credentials there
- Run composer install
- Run php artisan key:generate
- Run php artisan migrate --seed (it has some seeded data for your testing)
- That's it: launch the URL
/api/documentation
- Follow the tutorial and regenerate documentation with
php artisan l5-swagger:generate
command - You can login to adminpanel by going go
/login
URL and login with credentials admin@admin.com - password
Basically, feel free to use and re-use any way you want.
- Check out our adminpanel generator QuickAdminPanel
- Read our Blog with Laravel Tutorials
- FREE E-book: 50 Laravel Quick Tips (and counting)
- Subscribe to our YouTube channel Laravel Business
- Enroll in our Laravel Online Courses