Download the PHP package alhoqbani/laravel-scout-elasticsearch without Composer
On this page you can find all versions of the php package alhoqbani/laravel-scout-elasticsearch. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download alhoqbani/laravel-scout-elasticsearch
More information about alhoqbani/laravel-scout-elasticsearch
Files in alhoqbani/laravel-scout-elasticsearch
Package laravel-scout-elasticsearch
Short Description Add Elasticsearch support to Laravel Scout
License MIT
Homepage https://github.com/alhoqbani/laravel-scout-elasticsearch
Informations about the package laravel-scout-elasticsearch
laravel-scout-elasticsearch
Add Laravel Scout
Under development. Not ready for production.
Install
Via Composer
Usage
Quick Start
Publish scout config file and change the driver to elastic
Publish the config file for this library:
update the configuration for elasticsearch hosts.
Add Laravel\Scout\Searchable
trait to your model
- Run
php artisan scout:import "App\Post"
to import all records to elasticsearch - Search
$posts = App\Post::search('Star Trek')->get();
Change log
Please see CHANGELOG for more information on what has changed recently.
Testing
Contributing
Please see CODE_OF_CONDUCT for details.
Security
If you discover any security related issues, please email [email protected] instead of using the issue tracker.
Credits
- Hamoud Alhoqbani
- All Contributors
License
The MIT License (MIT). Please see License File for more information.