Looking to hire Laravel developers? Try LaraJobs
This package is not available.

laravel-scout-refresh maintained by tarre

Description
Flush and import all models with the "Searchable" trait
Author
Last update
2024/03/15 22:37 (dev-master)
License
Links
Downloads
28 376

Comments
comments powered by Disqus

About laravel-scout-refresh-command

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