lunarphp/scout-database-engine
Laravel Scout Database Engine
Out-of-the-box Laravel Scout provides a database driver, but it is very limited. If you want to truly be able to search any data in MySQL or PostgreSQL then you'll need a search index table.
This package introduces an Eloquent model called SearchIndex. It will index the information set to be searched using Laravel Scout and there is no limitation, E.g. you could happily index and search on aggregate data.
Installation
composer require lunarphp/scout-database-engine
php artisan migrate
TODO
- Eloquent model & migration
- GitHub Actions https://kirschbaumdevelopment.com/insights/laravel-github-actions
- Indexing
- Searching
- Pagination
- Where clauses
- Soft deletes
- Customisation
- Database table in config
- MySQL & PostgreSQL specific config
Related Packages
vanry/laravel-scout-tntsearch
包含中文分词的 Laravel Scout TNTSearch 驱动,支持 scws, phpanalysis 和 jieba 分...
11,907
172
algolia/scout-extended
Scout Extended extends Laravel Scout adding algolia-specific features
7,090,654
420
teamtnt/laravel-scout-tntsearch-driver
Driver for Laravel Scout search package based on https://github.com/teamtnt/tnts...
2,754,142
1,135
matchish/laravel-scout-elasticsearch
Search among multiple models with ElasticSearch and Laravel Scout
1,797,788
742