PHPackages                             makidizajnerica/laravel-searcher - 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. [Framework](/categories/framework)
4. /
5. makidizajnerica/laravel-searcher

ActiveLibrary[Framework](/categories/framework)

makidizajnerica/laravel-searcher
================================

Simple model and multi-model search.

v2.0(3w ago)047MITPHPPHP &gt;=8.0

Since Mar 4Pushed 3w ago1 watchersCompare

[ Source](https://github.com/MakiDizajnerica/laravel-searcher)[ Packagist](https://packagist.org/packages/makidizajnerica/laravel-searcher)[ Docs](https://github.com/MakiDizajnerica/laravel-searcher)[ RSS](/packages/makidizajnerica-laravel-searcher/feed)WikiDiscussions main Synced today

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Laravel Searcher
================

[](#laravel-searcher)

Simple model and multi-model search.

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

[](#installation)

```
composer makidizajnerica/laravel-searcher
```

### Model Preparation

[](#model-preparation)

Model should implement `MakiDizajnerica\Searcher\Contracts\Searchable` interface, next define `attributesForTags()` method inside of it. This method should return attribute values that will be used as model tags. After that add `MakiDizajnerica\Searcher\Searchable` trait.

```
