PHPackages                             nwogu/laravel-searchman - PHPackages - PHPackages  [Skip to content](#main-content)[PHPackages](/)[Directory](/)[Categories](/categories)[Trending](/trending)[Leaderboard](/leaderboard)[Changelog](/changelog)[Analyze](/analyze)[Collections](/collections)[Log in](/login)[Sign up](/register)

1. [Directory](/)
2. /
3. [Database &amp; ORM](/categories/database)
4. /
5. nwogu/laravel-searchman

ActiveLibrary[Database &amp; ORM](/categories/database)

nwogu/laravel-searchman
=======================

MySql Driver for Laravel Scout

v1.0.6(7y ago)2624MITPHP

Since May 17Pushed 7y ago1 watchersCompare

[ Source](https://github.com/nwogu/laravel-searchman)[ Packagist](https://packagist.org/packages/nwogu/laravel-searchman)[ RSS](/packages/nwogu-laravel-searchman/feed)WikiDiscussions master Synced 3w ago

READMEChangelogDependencies (1)Versions (7)Used By (0)

laravel-searchman
=================

[](#laravel-searchman)

MySql Driver for Laravel Scout

Requirements
------------

[](#requirements)

- Requires Laravel Installed ^5.6
- Requires Laravel Scout ^7.0

Installation
------------

[](#installation)

`composer require nwogu\laravel-searchman`

Setup
-----

[](#setup)

Searchman Provides a Mysql Driver for Laravel Scout, for full text search
with indexing priorities and sql where expressions.

[Laravel Scout Documentation](https://laravel.com/docs/5.8/scout)

After installing Searchman, you can publish the configuration
using the vendor:publish Artisan command. This command will publish the searchman.php
configuration file to your config directory:

`php artisan vendor:publish --provider="Nwogu\SearchMan\Provider\SearchableServiceProvider"`

Add the `Nwogu\SearchMan\Traits\SearchMan` trait to the model you would like to make searchable. This trait uses Laravel's Scout Searchable and adds extra methods required by the engine:

```
