Skip to content

Commit

Permalink
Merge pull request #2 from janolivermr/master
Browse files Browse the repository at this point in the history
Add Laravel Auto Discovery
  • Loading branch information
urakozz authored Jun 20, 2018
2 parents 2486deb + 9330932 commit 8d4eb54
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
12 changes: 10 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -30,7 +30,15 @@ Or manualy in composer.json:
}
```

## Register Service Provider
## Setup

### Laravel >=5.5

This package supports auto discovery, so no configuration is required.

### Laravel <5.5

#### Register Service Provider

*/configs/app.php*

Expand All @@ -52,7 +60,7 @@ Or manualy in composer.json:
```


## Enable Facade
#### Enable Facade

*/configs/app.php*

Expand Down
8 changes: 8 additions & 0 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,14 @@
"extra": {
"branch-alias": {
"dev-master": "1.0-dev"
},
"laravel": {
"providers": [
"Kozz\\Laravel\\Providers\\Guzzle"
],
"aliases": {
"Guzzle": "Kozz\\Laravel\\Facades\\Guzzle"
}
}
}
}

0 comments on commit 8d4eb54

Please sign in to comment.