This is where your description should go. Take a look at contributing.md to see a to do list.
- Laravel 5.5 and above
Via Composer
$ composer require harlekoy/apidocs
After installing API Docs, publish its assets, and migration file using the apidocs:install
Artisan command.
$ php artisan apidocs:install
When updating, you should re-publish API Docs's assets:
$ php artisan apidocs:publish
When updating your API docs route list, you should run this command to get your latest Laravel route:list
:
$ php artisan apidocs:routes
Access your API documentation in you browser
/apidocs/list
If you don't have any local server running in your machine, run this command first in you command line tool
php artisan serve
then it generate thishttp://127.0.0.1:8000
. Now you can access the path with that hostnamehttp://127.0.0.1:8000/apidocs/list
enjoy using it ๐.
Please see the changelog for more information on what has changed recently.
$ composer test
Please see contributing.md for details and a todolist.
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Laravel API Docs is still under development, I decided to ship it in this early stage so you can help me make it better. however, you can use it in production. Lets finish the task below so we can have a version 1 up and running with the right features needed.
Here's the plan for what's coming:
- Add support for API Docs custom path
- Add transition effect for groups and endpoints accordion
- Add a way to edit API Docs groups and endpoints in its the web interface
- Add tests.
- Add validation for required parameters
license. Please see the license file for more information.