media24si/eswrapper 问题修复 & 功能扩展

解决BUG、新增功能、兼容多环境部署,快速响应你的开发需求

邮箱:yvsm@zunyunkeji.com | QQ:316430983 | 微信:yvsm316

media24si/eswrapper

最新稳定版本:1.0

Composer 安装命令:

composer require media24si/eswrapper

包简介

Laravel 5 Elasticsearch-PHP 2 wrapper

README 文档

README

Software License

Facade for elasticsearch-php2

Install

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

$ composer require media24si/eswrapper

Register the ESWrapperServiceProvider to the providers array in config/app.php

Media24si\ESWrapper\ESWrapperServiceProvider::class,

Publish vendor files (config file):

$ php artisan vendor:publish

Optional Register the facade in config/app.php:

'Elastic' => Media24si\ESWrapper\Facades\ESWrapper::class

Usage

You can use this package without any configuration. Just use the \Elastic facade in your controller.

Call your endpoints, like you would a normal elasticsearch client:

\Elastic::get([
    'index' => 'my_index',
    'type' => 'my_type',
    'id' => 'my_id'
]);

License

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

统计信息

  • 总下载量: 105
  • 月度下载量: 0
  • 日度下载量: 0
  • 收藏数: 0
  • 点击次数: 0
  • 依赖项目数: 0
  • 推荐数: 0

GitHub 信息

  • Stars: 0
  • Watchers: 2
  • Forks: 0
  • 开发语言: PHP

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-05-18