PHP code example of algolia / laravel-scout-settings

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

    

algolia / laravel-scout-settings example snippets


Algolia\Settings\ServiceProvider::class,

php artisan algolia:settings:backup "App\Contact"

php artisan algolia:settings:backup "App\Contact" --prefix

php artisan algolia:settings:push "App\Contact"

ALGOLIA_SETTINGS_FOLDER=indexmeta php artisan algolia:settings:backup