Skip to content
This repository has been archived by the owner on Dec 13, 2022. It is now read-only.

Commit

Permalink
fix readme, json
Browse files Browse the repository at this point in the history
  • Loading branch information
BostjanOb committed Jan 5, 2016
1 parent b986b8b commit d4a5486
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -15,18 +15,18 @@ $ composer require media24si/eswrapper
Register the ESWrapperServiceProvider to the providers array in `config/app.php`

``` php
'Media24si\ESWrapper\ESWrapperServiceProvider',
Media24si\ESWrapper\ESWrapperServiceProvider::class,
```

Publish vendor files (config file):
``` bash
$ art vendor:publish
$ php artisan vendor:publish
```

**Optional**
Register the facade in `config/app.php`:
``` php
'Elastic' => 'Media24si\ESWrapper\Facades\ESWrapper'
'Elastic' => Media24si\ESWrapper\Facades\ESWrapper::class
```

## Usage
Expand Down
4 changes: 2 additions & 2 deletions composer.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,9 +11,9 @@
}
],
"require": {
"php": ">=5.4.0",
"php": ">=5.6.0",
"laravel/framework": "5.*",
"elasticsearch/elasticsearch": "2.0.*@dev"
"elasticsearch/elasticsearch": "~2.0"
},
"autoload": {
"psr-4": {
Expand Down

0 comments on commit d4a5486

Please sign in to comment.