nicolasliu/laravel-xunsearch

Xunsearch Driver for Laravel Scout.

v1.0 2016-11-17 10:50 UTC

This package is not auto-updated.

Last update: 2024-11-09 20:45:15 UTC


README

Latest Stable Version Latest Unstable Version License Total Downloads composer.lock available

Xunsearch Driver for Laravel Scout.

Installation

You can install the package via composer:

composer require nicolasliu/laravel-xunsearch

You must add the Scout service provider and the package service provider in your app.php config:

'providers' => [
	Nicolasliu\Xunsearch\XunsearchServiceProvider::class,
],

Configuration

Publish the config file into your project by running:

php artisan vendor:publish --provider="Nicolasliu\Xunsearch\XunsearchServiceProvider"

Add Xunsearch settings into .env file:

XUNSEARCH_HOST=127.0.0.1
XUNSEARCH_SEARCHPORT=8384
XUNSEARCH_INDEXPORT=8383

Usage

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

##Links

Credits

License

The MIT License (MIT).