承接 chaospower/laravel-elastic-indexer 相关项目开发

从需求分析到上线部署,全程专人跟进,保证项目质量与交付效率

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

chaospower/laravel-elastic-indexer

Composer 安装命令:

composer create-project chaospower/laravel-elastic-indexer

包简介

Laravel Elastic Eloquent Query Builder

README 文档

README

This package is currently in development stage. Use at your own risk.

Laravel Elastic Indexer

TODO: Package Intro

Requirements

  • PHP 5.5
  • PHP 5.6
  • ElasticSearch 1.7
  • ElasticSearch 2.0
  • Laravel 5.1

Features

  • Automatic Indexing

Installation

composer require chaospower/laravel-elastic-indexer

Go to your project root where artisan.php is found. Then publish the vendor package

php artisan vendor:publish

Edit your config/app.php then add the provider

ElasticEqb\Providers\ElasticProvider::class

Using Elastic Indexer

All models should use and implement DoesElasticIndexer. Doing so will allow the service to listen to specific models and CRUD the Elastic side of the model. It will also do the elastic map automatically.

/**
 * Class Agency
 *
 * @package Travel\Models
 */
class Agency extends Model implements ElasticIndexer
{
    use DoesElasticIndexer;
}

Milestones

  • ElasticBuilder
  • ElasticSchemaBuilder

TODOs

Give ability to listen to all models not having the instance of DoesElasticIndexer

Plans

Convert package as a Laravel Database

统计信息

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

GitHub 信息

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

其他信息

  • 授权协议: MIT
  • 更新时间: 2015-10-28

承接程序开发

PHP开发

VUE

Vue开发

前端开发

小程序开发

公众号开发

系统定制

数据库设计

云部署

网站建设

安全加固