PHPackages                             5dmatwebsearch/advancesearch - 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. [Search &amp; Filtering](/categories/search)
4. /
5. 5dmatwebsearch/advancesearch

ActivePackage[Search &amp; Filtering](/categories/search)

5dmatwebsearch/advancesearch
============================

Fulltext Search for laravel ...

505.1k↓32.9%23[8 issues](https://github.com/zizohassan/full-text-search-laravel/issues)PHP

Since Feb 9Pushed 8y ago3 watchersCompare

[ Source](https://github.com/zizohassan/full-text-search-laravel)[ Packagist](https://packagist.org/packages/5dmatwebsearch/advancesearch)[ RSS](/packages/5dmatwebsearch-advancesearch/feed)WikiDiscussions master Synced yesterday

READMEChangelogDependenciesVersions (1)Used By (0)

full-text-search-laravel
========================

[](#full-text-search-laravel)

Description
-----------

[](#description)

Full text search in laravel on single or multiple fields

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

[](#installation)

```
  composer require 5dmatwebsearch/advancesearch:dev-master

```

Add service provider (in config/app.php -&gt; 'providers')
----------------------------------------------------------

[](#add-service-provider-in-configappphp---providers)

```
   AdvanceSearch\AdvanceSearchProvider\AdvanceSearchProvider::class,

```

Add aliases (in config/app.php -&gt; 'aliases')
-----------------------------------------------

[](#add-aliases-in-configappphp---aliases)

```
   'Search' => AdvanceSearch\AdvanceSearchProvider\Facades\SearchFacades::class,

```

Add index
---------

[](#add-index)

Add index to fields

```
  php artisan index:table table fields

```

table = the table name
fields = the fields you can add. One or more fields can be added like this: title,description,tags

Example

```
  php artisan index:table films title,description

```

Search
------

[](#search)

You can now use the search function

```
  Search::search(modelName , fields, searchText  ,select , order , pagination , limit)
```

modelName = The table name
fields = The fields you can add title,description,tags
searchText = The text you're looking for
select = The fields you want a return from. You can return with one field like this: title. Or more than one like \['title' , 'description'\]
order = You can pass a single order field like this: id. Or you can pass the field and the way like this \['id' , 'desc'\]
pagination = True if you want pagination to be enabled, false if not. The package will paginate by default
limit = The amount of results you want returned. (10 by default)

First example with pagination

```
Search::search(
      "Films" ,
      ['title' , 'description'] ,
      "Drama Outback GOLDFINGER"  ,
      ['modelName' , 'title', 'description'],
      ['film_id'  , 'asc'] ,
      true ,
      30
)
```

Second example with pagination

```
Search::search(
      "Films" ,
      ['title' , 'description'] ,
      "Drama Outback GOLDFINGER"  ,
      ['id' , 'title', 'description'],
     'film_id'
)
```

Example without pagination

```
Search::search(
      "Films" ,
      ['title' , 'description'] ,
      "Drama Outback GOLDFINGER"  ,
      ['film_id' , 'title', 'description'],
      'film_id',
      false
)->where('film_id' , 10)->get()
```

###  Health Score

31

—

LowBetter than 66% of packages

Maintenance17

Infrequent updates — may be unmaintained

Popularity38

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 62.5% of commits — single point of failure

How is this calculated?**Maintenance (25%)** — Last commit recency, latest release date, and issue-to-star ratio. Uses a 2-year decay window.

**Popularity (30%)** — Total and monthly downloads, GitHub stars, and forks. Logarithmic scaling prevents top-heavy scores.

**Community (15%)** — Contributors, dependents, forks, watchers, and maintainers. Measures real ecosystem engagement.

**Maturity (30%)** — Project age, version count, PHP version support, and release stability.

### Community

Maintainers

![](https://www.gravatar.com/avatar/dd949da6bbc3785bff4c5e6f514b8ed38e200318ca759b5982a0d7fa1c9b1b5f?d=identicon)[zizohassan](/maintainers/zizohassan)

---

Top Contributors

[![zizohassan](https://avatars.githubusercontent.com/u/10069936?v=4)](https://github.com/zizohassan "zizohassan (10 commits)")[![RobLui](https://avatars.githubusercontent.com/u/10846766?v=4)](https://github.com/RobLui "RobLui (5 commits)")[![MrVACO](https://avatars.githubusercontent.com/u/10116170?v=4)](https://github.com/MrVACO "MrVACO (1 commits)")

### Embed Badge

![Health badge](/badges/5dmatwebsearch-advancesearch/health.svg)

```
[![Health](https://phpackages.com/badges/5dmatwebsearch-advancesearch/health.svg)](https://phpackages.com/packages/5dmatwebsearch-advancesearch)
```

###  Alternatives

[awesome-nova/dependent-filter

Dependent filters for Laravel Nova

26193.1k](/packages/awesome-nova-dependent-filter)[algolia/php-dom-parser

A simple tool to turn DOM into Algolia search friendly record objects.

181.8k](/packages/algolia-php-dom-parser)

PHPackages © 2026

[Directory](/)[Categories](/categories)[Trending](/trending)[Changelog](/changelog)[Analyze](/analyze)
