tarre/laravel-scout-refresh

Flush and import all models with the "Searchable" trait

Maintainers

Package info

github.com/tarreislam/laravel-scout-refresh

pkg:composer/tarre/laravel-scout-refresh

Statistics

Installs: 20 363

Dependents: 0

Suggesters: 0

Stars: 4

Open Issues: 0

1.0.5 2023-09-24 12:15 UTC

This package is auto-updated.

Last update: 2026-02-16 02:01:23 UTC


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