PHP code example of aw-studio / laravel-indexer
1. Go to this page and download the library: Download aw-studio/laravel-indexer 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/ */
aw-studio / laravel-indexer example snippets
use AwStudio\Indexer\Models\WebPage;
$results = WebPage::search($request->search)->take(10)->get();
shell
php artisan vendor:publish --tag=indexer
shell
php artisan migrate
shell
php artisan indexer:run