| Package Data | |
|---|---|
| Maintainer Username: | JustSteveKing | 
| Maintainer Contact: | juststevemcd@gmail.com (Steve McDougall) | 
| Package Create Date: | 2021-05-06 | 
| Package Last Update: | 2024-06-11 | 
| Language: | PHP | 
| License: | MIT | 
| Last Refreshed: | 2025-10-28 03:09:30 | 
| Package Statistics | |
|---|---|
| Total Downloads: | 224,734 | 
| Monthly Downloads: | 7,192 | 
| Daily Downloads: | 468 | 
| Total Stars: | 89 | 
| Total Watchers: | 1 | 
| Total Forks: | 12 | 
| Total Open Issues: | 3 | 
Easily publish your API documentation using your OpenAPI document in your Laravel Application.
You can install this package via composer:
composer require juststeveking/laravel-redoc
You can publish the configuration file with:
php artisan vendor:publish --provider="JustSteveKing\Laravel\LaravelRedoc\RedocServiceProvider" --tag="config"
This is the contents of the published config file:
return [
    'path' => [
        'name' => env('REDOC_PATH_NAME', 'docs'),
        'url' => env('REDOC_PATH_URL', 'api/docs'),
    ],
    'openapi' => [
        'path' => env('REDOC_OPENAPI_PATH', 'http://petstore.swagger.io/v2/swagger.json')
    ],
    'config' => [
        'search' => false,
        'hostname' => false,
        'loading' => false,
        'menu' => true,
        'scrollbars' => true,
        'trust' => true,
    ]
];
Please see CONTRIBUTING and CODE_OF_CONDUCT for details.
If you discover any security related issues, please email juststevemcd@gmail.com instead of using the issue tracker.
The MIT License (MIT). Please see License File for more information.