There was an error while loading. Please reload this page.
1 parent 5c82489 commit d98f079Copy full SHA for d98f079
README.md
@@ -1 +1,36 @@
1
# laravel-elastic
2
+
3
+Elasticsearch Fluent interface for Laravel5
4
5
+Now just have a very rough version impelements elasticsearch's basic search functionality.
6
7
+### Installation
8
9
+1. get package from packagist
10
11
+```
12
+composer requrire kevinyan/laravel-elastic 0.0.1
13
14
15
+2. register service provider and facade in 'app.php'
16
17
18
+'providers' => [
19
+ ...
20
+ KevinYan\Elastic\Providers\ElasticServiceProvider::class,
21
22
+]
23
24
+'aliases' => [
25
26
+ 'Elastic' => KevinYan\Elastic\Facades\Elastic::class
27
28
29
30
31
32
+3. publish elasitc.php into project's config directory
33
34
35
+php artisan vendor:publish --provider="KevinYan\Elastic\Providers\ElasticServiceProvider"
36
0 commit comments