haode / elaticsearch
3.0
2021-08-31 09:49 UTC
Requires
- elasticsearch/elasticsearch: ^7.14
- illuminate/support: ~7|~8
Requires (Dev)
- orchestra/testbench: ~5|~6
- phpunit/phpunit: ~9.0
This package is auto-updated.
Last update: 2024-04-29 04:47:28 UTC
README
This is where your description should go. Take a look at contributing.md to see a to do list.
Installation
Via Composer
$ composer require haode/elaticsearch
Usage
Change log
Please see the changelog for more information on what has changed recently.
Testing
$ composer test
Contributing
Please see contributing.md for details and a todolist.
Security
If you discover any security related issues, please email 47876800@qq.com instead of using the issue tracker.
Credits
License
1.2. Please see the license file for more information.
$ composer require haode/elaticsearch
搜索查询
在model 中引用trait
use Searchable;
同步数据库中的数据
php artisan elaticsearch:import "App\Models\Orm"