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 [
    'model_directories' => [
        app_path('Models'),
        // base_path('Modules/*/Models'),
    ],
];
bash
php artisan vendor:publish --tag="scout-bulk-actions-config"
bash
php artisan scout:refresh
bash
php artisan scout:refresh "App\Models\Post"