PHP code example of trinityrank / search

1. Go to this page and download the library: Download trinityrank/search 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/ */

    

trinityrank / search example snippets

shell
    php artisan vendor:publish --provider="Trinityrank\Search\SearchServiceProvider" --tag="search-migration"
shell
    php artisan tenant:artisan "migrate"
shell
    php artisan tenant:artisan "migrate" --tenant=[--TENANT-ID--]
shell
    // delete
    php artisan search:delete
    php artisan search:delete-index

    // import
    php artisan search:import

    // update
    php artisan search:update-filters
shell
    php artisan vendor:publish --provider="Trinityrank\Search\SearchServiceProvider" --tag="search-config"