Skip to content

Commit

Permalink
Read me update
Browse files Browse the repository at this point in the history
  • Loading branch information
DarkaOnLine committed May 5, 2015
1 parent a3ba1d8 commit 71cbd23
Showing 1 changed file with 10 additions and 0 deletions.
10 changes: 10 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -10,6 +10,16 @@ This package is a copy of [Swaggervel](https://github.com/slampenny/Swaggervel)
Installation
============

For Swagger 2.0
```php
composer require darkaonline/l5-swagger ~2.0
```

For Swagger 1.0
```php
composer require darkaonline/l5-swagger ~0.1
```

- Open your `AppServiceProvider` (located in `app/Providers`) and add this line in `register` function
```php
$this->app->register('Darkaonline\L5Swagger\L5SwaggerServiceProvider');
Expand Down

0 comments on commit 71cbd23

Please sign in to comment.