PHP code example of farzai / laravel-scout-driver

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

    

farzai / laravel-scout-driver example snippets



return [

    // ....

    'app-search' => [
        'endpoint' => env('APPSEARCH_ENDPOINT'),
        'key' => env('APPSEARCH_API_KEY'),
        'engine' => [
            'language' => env('APPSEARCH_ENGINE_LANGUAGE'),
        ],
    ],
];

php artisan farzai:scout:install app-search