Downloads
Stars
Version
A simple Laravel api documentation generator
Core package: https://github.com/johnylemon/explainer
This tool makes possible to explain every app route by using simple explain
method via clean document accessible under configured route address.
Simply call explain
method on your routes:
Route::get('/', 'IndexController@index')->explain(\App\Explains\IndexRouteExplain::class);
To generate route explain file with name IndexRouteExplain
in app/Explains
directory simply type:
php artisan explain:route IndexRouteExplain
To generate route explain example file with name ValidationExample
in app/Explains/Examples
directory simply type:
php artisan explain:example ValidationExample
Simply type
php artisan explain
and... enjoy!