PHP code example of boxed-code / laravel-scout-database

1. Go to this page and download the library: Download boxed-code/laravel-scout-database 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/ */

    

boxed-code / laravel-scout-database example snippets


// config/app.php
'providers' => [
    ...
    Laravel\Scout\ScoutServiceProvider::class,
    ...
    BoxedCode\Laravel\Scout\DatabaseEngineServiceProvider::class,
],
shell
php artisan migrate