tarre / laravel-scout-refresh
Flush and import all models with the "Searchable" trait
1.0.5
2023-09-24 12:15 UTC
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