PHP code example of guywarner / laravel-singlestore-fulltext
1. Go to this page and download the library: Download guywarner/laravel-singlestore-fulltext 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/ */
guywarner / laravel-singlestore-fulltext example snippets
User::match(['first_name', 'last_name'], 'Guy Warner')->get()
use Guywarner\LaravelSinglestoreFulltext\Models\SingleStoreModel;
class Mopdel extends SingleStoreModel
{
}
Model::match(['column1', 'column2'], 'search term')->get();