2017 © Pedro Peláez
 

library eswrapper

Laravel 5 Elasticsearch-PHP 2 wrapper

image

media24si/eswrapper

Laravel 5 Elasticsearch-PHP 2 wrapper

  • Tuesday, January 5, 2016
  • by BostjanOb
  • Repository
  • 1 Watchers
  • 0 Stars
  • 82 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 2 Versions
  • 0 % Grown

The README.md

ElasticSearch-php 2 Facade

Software License, (*1)

Facade for elasticsearch-php2, (*2)

Install

Require this package with Composer (Packagist), using the following command:, (*3)

``` bash $ composer require media24si/eswrapper, (*4)


Register the ESWrapperServiceProvider to the providers array in `config/app.php` ``` php Media24si\ESWrapper\ESWrapperServiceProvider::class,

Publish vendor files (config file): ``` bash $ php artisan vendor:publish, (*5)


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

Usage

You can use this package without any configuration. Just use the \Elastic facade in your controller., (*6)

Call your endpoints, like you would a normal elasticsearch client: php \Elastic::get([ 'index' => 'my_index', 'type' => 'my_type', 'id' => 'my_id' ]);, (*7)

License

The MIT License (MIT). Please see License File for more information., (*8)

The Versions

05/01 2016

dev-master

9999999-dev https://github.com/Media24si/ESWrapper

Laravel 5 Elasticsearch-PHP 2 wrapper

  Sources   Download

MIT

The Requires

 

laravel elasticsearch laravel 5

05/01 2016

1.0

1.0.0.0 https://github.com/Media24si/ESWrapper

Laravel 5 Elasticsearch-PHP 2 wrapper

  Sources   Download

MIT

The Requires

 

laravel elasticsearch laravel 5