lunarphp / scout-database-engine
Laravel Scout engine to allow full searching in MySQL and PostgreSQL.
0.8.1
2024-01-31 15:34 UTC
Requires
- php: ^8.1
- laravel/framework: ^9.0|^10.0
- laravel/scout: ^9.4|^10.0
- spatie/laravel-blink: ^1.6
Requires (Dev)
- orchestra/testbench: ^7.0|^8.0
- phpunit/phpunit: ^9.5
- dev-main
- 0.x-dev
- 0.8.x-dev
- 0.8.1
- 0.8.0
- 0.7.x-dev
- 0.7.6
- 0.7.5
- 0.7.4
- 0.7.3
- 0.7.2
- 0.7.1
- 0.7.0
- 0.6.x-dev
- 0.6.4
- 0.6.3
- 0.6.2
- 0.6.1
- 0.6.0
- 0.5.x-dev
- 0.5.6
- 0.5.5
- 0.5.4
- 0.5.3
- 0.5.2
- 0.5.1
- 0.5.0
- 0.4.x-dev
- 0.4.2
- 0.4.1
- 0.4.0
- 0.3.x-dev
- 0.3.2
- 0.3.1
- 0.3.0
- 0.3.0-beta.3
- 0.3.0-beta.2
- 0.3.0-beta
- 0.3.0-alpha.3
- 0.3.0-alpha.2
- 0.3.0-alpha
- 0.2.x-dev
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.2-rc1
- 0.1.x-dev
- 0.1.6
- 0.1.5
- 0.1.4
- 0.1.3
- 0.1.1
- 0.1.0-rc.3
- 0.1.0-rc.1
- dev-0.7_0.8_branch_merge
This package is auto-updated.
Last update: 2024-11-08 13:06:38 UTC
README
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