All Projects → ErickTamayo → Laravel Scout Elastic

ErickTamayo / Laravel Scout Elastic

Licence: mit
Elastic Driver for Laravel Scout

Projects that are alternatives of or similar to Laravel Scout Elastic

Elasticquent
Maps Laravel Eloquent models to Elasticsearch types
Stars: ✭ 1,172 (+32.28%)
Mutual labels:  elasticsearch, laravel
Elasticsearch Eloquent
⚡️ Eloquent models for Elasticsearch.
Stars: ✭ 100 (-88.71%)
Mutual labels:  elasticsearch, laravel
Elastic Scout Driver
Elasticsearch driver for Laravel Scout
Stars: ✭ 74 (-91.65%)
Mutual labels:  elasticsearch, laravel
Elastic Scout Driver Plus
Extension for Elastic Scout Driver
Stars: ✭ 90 (-89.84%)
Mutual labels:  elasticsearch, laravel
Laravel Scout Elasticsearch
Search among multiple models with ElasticSearch and Laravel Scout
Stars: ✭ 423 (-52.26%)
Mutual labels:  elasticsearch, laravel
Scout Elasticsearch Driver
This package offers advanced functionality for searching and filtering data in Elasticsearch.
Stars: ✭ 1,047 (+18.17%)
Mutual labels:  elasticsearch, laravel
Elasticsearch
Use SQL statements to query elasticsearch
Stars: ✭ 98 (-88.94%)
Mutual labels:  elasticsearch, laravel
Kbframe
一款基于Laravel框架开发的现代化二次开发框架,是高性能,高效率,高质量的企业级开发框架,具有驱动领域,敏捷开发,轻易上手,高内聚低耦合,开箱即用等特点。
Stars: ✭ 47 (-94.7%)
Mutual labels:  elasticsearch, laravel
Laravel Scout Elastic Demo
笑来搜原型 Laravel Scout & ElasticSearch ik
Stars: ✭ 403 (-54.51%)
Mutual labels:  elasticsearch, laravel
Elasticsearch
The missing elasticsearch ORM for Laravel, Lumen and Native php applications
Stars: ✭ 375 (-57.67%)
Mutual labels:  elasticsearch, laravel
Candy Api
GetCandy E-Commerce API
Stars: ✭ 339 (-61.74%)
Mutual labels:  elasticsearch, laravel
Laravel Elasticsearch
An easy way to use the official Elastic Search client in your Laravel applications.
Stars: ✭ 717 (-19.07%)
Mutual labels:  elasticsearch, laravel
Plastic
Plastic is an Elasticsearch ODM and mapper for Laravel. It renders the developer experience more enjoyable while using Elasticsearch, by providing a fluent syntax for mapping, querying, and storing eloquent models.
Stars: ✭ 494 (-44.24%)
Mutual labels:  elasticsearch, laravel
Laravel Docker Elasticsearch
This is a simple repo for practicing elasticsearch with laravel and docker.
Stars: ✭ 18 (-97.97%)
Mutual labels:  elasticsearch, laravel
Mysql Workbench Export Laravel 5 Migrations
A MySQL Workbench plugin which exports a Model to Laravel 5 Migrations
Stars: ✭ 876 (-1.13%)
Mutual labels:  laravel
Flexsearch
Next-Generation full text search library for Browser and Node.js
Stars: ✭ 8,108 (+815.12%)
Mutual labels:  elasticsearch
Laravel Image Optimizer
Optimize images in your Laravel app
Stars: ✭ 873 (-1.47%)
Mutual labels:  laravel
Office365 Management Api Elk
An API connector for the Office 365 Management API and the Elastic Stack
Stars: ✭ 13 (-98.53%)
Mutual labels:  elasticsearch
Freshdesk Laravel
Freshdesk Service Provider for Laravel 5 and Lumen
Stars: ✭ 14 (-98.42%)
Mutual labels:  laravel
Apm Server
APM Server
Stars: ✭ 878 (-0.9%)
Mutual labels:  elasticsearch

Laravel Scout Elasticsearch Driver

Latest Stable Version Total Downloads License Build Status

This package provides a Elasticsearch driver for Laravel Scout.

Contents

Installation

You can install the package via composer:

composer require tamayo/laravel-scout-elastic

Laravel will automatically register the driver service provider.

Install elasticsearch-php client

For use this library we recomend using the latest version at this time (^7.9)

composer require elasticsearch/elasticsearch

Setting up Elasticsearch configuration

After you've published the Laravel Scout package configuration, you need to set your driver to elasticsearch and add its configuration:

// config/scout.php
...
    // Set your driver to elasticsearch
    'driver' => env('SCOUT_DRIVER', 'elasticsearch'),
...
    /*
    |--------------------------------------------------------------------------
    | Elasticsearch Configuration
    |--------------------------------------------------------------------------
    |
    | Here you may configure your Elasticsearch settings.
    |
    */
    'elasticsearch' => [
        'hosts' => [
            env('ELASTICSEARCH_HOST', 'localhost'),
            // [
            //     'host'   => env('ELASTICSEARCH_HOST', 'localhost'),
            //     'port'   => env('ELASTICSEARCH_PORT', '9200'),
            //     'scheme' => env('ELASTICSEARCH_SCHEME', 'https'),
            //     'path'   => env('ELASTICSEARCH_PATH', '/elastic'),
            //     'user'   => env('ELASTICSEARCH_USER', 'username'),
            //     'pass'   => env('ELASTICSEARCH_PASS', 'password'),
            // ]
        ],
    ]
...

For host configuration you can refer to the official Elasticsearch documentation

Usage

Now you can use Laravel Scout as described in the Laravel Scout official documentation

Limitations

Identifying Users Currrently user identification is not supported.

Credits

License

The MIT License (MIT).

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].