tarre / laravel-scout-refresh
Flush and import all models with the "Searchable" trait
Installs: 13 301
Dependents: 0
Suggesters: 0
Security: 0
Stars: 4
Watchers: 3
Forks: 0
Open Issues: 0
Requires
- laravel/scout: ~6.0|~7.0|~8.0|~9.0|~10.0
README
Refresh all your models containing the searchable
trait
Installation
1. Install with composer
composer require tarre/laravel-scout-refresh
2. Add class to App\Console\Kernel.php
protected $commands = [ \Tarre\LaravelScoutRefresh\Console\ScoutRefreshAllCommand::class ];
Usage
php artisan scout:refresh-all