nicolasliu / laravel-xunsearch
Xunsearch Driver for Laravel Scout.
v1.0
2016-11-17 10:50 UTC
Requires
- php: >=5.6.4
- laravel/scout: ^1.1
This package is not auto-updated.
Last update: 2024-11-09 20:45:15 UTC
README
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).