PHP code example of mozex / laravel-scout-bulk-actions

1. Go to this page and download the library: Download mozex/laravel-scout-bulk-actions library. Choose the download type require.

2. Extract the ZIP file and open the index.php.

3. Add this code to the index.php.
    
        
<?php
require_once('vendor/autoload.php');

/* Start to develop here. Best regards https://php-download.com/ */

    

mozex / laravel-scout-bulk-actions example snippets


return [

    /*
    |--------------------------------------------------------------------------
    | Searchable Model Directories
    |--------------------------------------------------------------------------
    |
    | Define the directories for Laravel Scout to scan for models that use the
    | Searchable trait. This configuration accepts an array of directory paths
    | where your models reside. Glob patterns are supported for these paths,
    | allowing you to 

php artisan scout:import-all

php artisan scout:flush-all

php artisan scout:refresh

php artisan scout:refresh "App\Models\Post"
bash
php artisan vendor:publish --tag="scout-bulk-actions-config"