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 today

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 31% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity55

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

1285d 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-permission

Permission handling for Laravel 12 and up

12.9k102.4M1.4k](/packages/spatie-laravel-permission)[spatie/laravel-pdf

Create PDFs in Laravel apps

1.0k4.8M47](/packages/spatie-laravel-pdf)[dedoc/scramble

Automatic generation of API documentation for Laravel applications.

2.1k11.2M100](/packages/dedoc-scramble)[defstudio/telegraph

A laravel facade to interact with Telegram Bots

816333.3k3](/packages/defstudio-telegraph)[spatie/laravel-passkeys

Use passkeys in your Laravel app

471890.7k39](/packages/spatie-laravel-passkeys)[rawilk/profile-filament-plugin

Profile &amp; MFA starter kit for filament.

3914.6k](/packages/rawilk-profile-filament-plugin)

PHPackages © 2026

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