PHP code example of jzpeepz / eloquent-search

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

    

jzpeepz / eloquent-search example snippets


Route::get('/search', ['as' => 'eloquent-search', 'uses' => '\Jzpeepz\EloquentSearch\Http\Controllers\SearchController@index']);

@
bash
php artisan vendor:publish --tag=eloquent-search-views