PHPackages                             imikemiller/l5-swagger-redoc - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [API Development](/categories/api)
4. /
5. imikemiller/l5-swagger-redoc

ActiveLibrary[API Development](/categories/api)

imikemiller/l5-swagger-redoc
============================

Swagger integration to Laravel 5 using the Rebilly Redoc UI.

5.0.3(8y ago)51.7k4MITPHPPHP ^7.0

Since Mar 23Pushed 8y agoCompare

[ Source](https://github.com/imikemiller/L5-Swagger-Redoc)[ Packagist](https://packagist.org/packages/imikemiller/l5-swagger-redoc)[ RSS](/packages/imikemiller-l5-swagger-redoc/feed)WikiDiscussions master Synced 4d ago

READMEChangelog (1)Dependencies (7)Versions (32)Used By (0)

This is a fork of [DarkaOnLine/L5-Swagger](https://github.com/DarkaOnLine/L5-Swagger) which is based on [swagger-PHP](https://github.com/zircote/swagger-php) and [swagger-UI](https://github.com/swagger-api/swagger-ui).

Instead of the stock Swagger interface this package uses the [Rebilly/Redoc](https://github.com/Rebilly/ReDoc) UI.

Installation &amp; Usage
========================

[](#installation--usage)

```
composer require imikemiller/l5-swagger-redoc

```

Register the service provider `L5Swagger\L5SwaggerServiceProvider::class` in the Laravel app config file `config/app.php` and run

```
php artisan l5-swagger:publish //to publish the resources
php artisan l5-swagger:generate //to generate the doc spec json

```

By default the documentation will be available at `http://{base_url}/api/documentation`. You can configure the page title and other Swagger configuration options by editing `config/l5-swagger.php`.

TODO
====

[](#todo)

- Add support for configuration of the Redoc UI

Example Controller Annotations
==============================

[](#example-controller-annotations)

```
