PHPackages                             thuyld\_rabiloo/searchy - 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. thuyld\_rabiloo/searchy

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

thuyld\_rabiloo/searchy
=======================

This is my package searchy

v1.0.0(3y ago)18MITPHPPHP ^8.1

Since Dec 26Pushed 3y ago1 watchersCompare

[ Source](https://github.com/thuyrabilloo/searchy)[ Packagist](https://packagist.org/packages/thuyld_rabiloo/searchy)[ Docs](https://github.com/rabiloo/searchy)[ RSS](/packages/thuyld-rabiloo-searchy/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (1)Dependencies (8)Versions (2)Used By (0)

Searchy
=======

[](#searchy)

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

[](#installation)

You can install the package via composer:

```
composer require thuyld_rabiloo/searchy
```

You can publish the config file with:

```
php artisan vendor:publish --tag="searchy-config"
```

This is the contents of the published config file:

```
return [
    'default' => 'fuzzy',
    'fieldName' => 'relevance',
    'drivers' => [
        'fuzzy' => [
            'class' => 'Rabiloo\Searchy\SearchDrivers\FuzzySearchDriver',
        ],
        'ufuzzy' => [
            'class' => 'Rabiloo\Searchy\SearchDrivers\FuzzySearchUnicodeDriver',
        ],
        'simple' => [
            'class' => 'Rabiloo\Searchy\SearchDrivers\SimpleSearchDriver',
        ],
        'levenshtein' => [
            'class' => 'Rabiloo\Searchy\SearchDrivers\LevenshteinSearchDriver',
        ],
    ],
];
```

Usage
-----

[](#usage)

```
use Rabiloo\Searchy\Traits\Searchable;
class SearchableModel extends Model
{
    use Searchable;

    public function searchableColumns()
    {
        return ['field_1', 'field_2'];
    }
}
```

### Default search

[](#default-search)

```
$search = SearchableModel::search('keyword')->get();
```

### Fuzzy search

[](#fuzzy-search)

```
$search = SearchableModel::fuzzySearch('keyword')->get();
$search = SearchableModel::uFuzzySearch('keyword')->get();
```

### Simple search

[](#simple-search)

```
$search = SearchableModel::simpleSearch('keyword')->get();
```

### Levenshtein search

[](#levenshtein-search)

```
$search = SearchableModel::levenshteinSearch('keyword')->get();
```

Testing
-------

[](#testing)

```
composer test
```

Changelog
---------

[](#changelog)

Please see [CHANGELOG](CHANGELOG.md) for more information on what has changed recently.

Contributing
------------

[](#contributing)

Please see [CONTRIBUTING](CONTRIBUTING.md) for details.

Security Vulnerabilities
------------------------

[](#security-vulnerabilities)

Please review [our security policy](../../security/policy) on how to report security vulnerabilities.

Credits
-------

[](#credits)

- [ThuyLD](https://github.com/thuyld)
- [All Contributors](../../contributors)

License
-------

[](#license)

The MIT License (MIT). Please see [License File](LICENSE.md) for more information.

###  Health Score

24

—

LowBetter than 32% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 100% 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.

###  Release Activity

Cadence

Unknown

Total

1

Last Release

1238d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/6cdeca96fa8c08a155901d090a5f60f6043595e2c76cc4c6a7c0ed28687ea861?d=identicon)[thuyrabiloo](/maintainers/thuyrabiloo)

---

Top Contributors

[![thuyrabiloo](https://avatars.githubusercontent.com/u/121418756?v=4)](https://github.com/thuyrabiloo "thuyrabiloo (8 commits)")

---

Tags

laravelrabiloomodelsearchy

###  Code Quality

TestsPest

Code StyleLaravel Pint

### Embed Badge

![Health badge](/badges/thuyld-rabiloo-searchy/health.svg)

```
[![Health](https://phpackages.com/badges/thuyld-rabiloo-searchy/health.svg)](https://phpackages.com/packages/thuyld-rabiloo-searchy)
```

###  Alternatives

[spatie/laravel-site-search

A site search engine

300129.1k](/packages/spatie-laravel-site-search)[vormkracht10/laravel-mails

Laravel Mails can collect everything you might want to track about the mails that has been sent by your Laravel app.

24149.7k](/packages/vormkracht10-laravel-mails)[codewithdennis/filament-price-filter

A simple and customizable price filter for FilamentPHP, allowing users to easily refine results based on specified price ranges.

163.2k](/packages/codewithdennis-filament-price-filter)[eightynine/filament-docs

Elegant documentation system for your Filament application with search, navigation, and markdown support

122.5k1](/packages/eightynine-filament-docs)

PHPackages © 2026

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