Skip to content

an API documentation tool that is meant to replace swagger which is built with VueJS & built for your Laravel projects ๐Ÿ˜„

License

Notifications You must be signed in to change notification settings

harlekoy/laravel-apidocs

Folders and files

NameName
Last commit message
Last commit date

Latest commit

ย 

History

36 Commits
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 
ย 

Repository files navigation

API Docs

Latest Version on Packagist Total Downloads Build Status StyleCI

This is where your description should go. Take a look at contributing.md to see a to do list.

Requirements

  • Laravel 5.5 and above

Installation

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

Updating API Docs

When updating, you should re-publish API Docs's assets:

$ php artisan apidocs:publish

Reread API routes

When updating your API docs route list, you should run this command to get your latest Laravel route:list:

$ php artisan apidocs:routes

Usage

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 this http://127.0.0.1:8000. Now you can access the path with that hostname http://127.0.0.1:8000/apidocs/list enjoy using it ๐Ÿ˜„.

Change log

Please see the changelog for more information on what has changed recently.

Testing

$ composer test

Contributing

Please see contributing.md for details and a todolist.

Security

If you discover any security related issues, please email me@harlekoy.com instead of using the issue tracker.

Credits

Road map

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

license. Please see the license file for more information.

About

an API documentation tool that is meant to replace swagger which is built with VueJS & built for your Laravel projects ๐Ÿ˜„

Resources

License

Stars

Watchers

Forks

Packages

No packages published