Skip to content

skydiver/october-plugin-tntsearch

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

TNTSearch for OctoberCMS

Add full text search support to your models

Installation

  1. clone to plugins/martin/tntsearch
  2. cd plugins/martin/tntsearch
  3. composer install

Usage

  1. add Searchable trait to your model
  2. build indexes php artisan scout:import \\Author\\Plugin\\Models\\Post

Search models

// search on your posts
Post::search('My post title')->get();

// paginate posts query
Post::search('My post title')->paginate(25);

More info

About

TNTSearch for OctoberCMS

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages