PHPackages                             marko/search - 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. marko/search

ActiveMarko-module[Search &amp; Filtering](/categories/search)

marko/search
============

Search interfaces and value objects for Marko Framework

0.7.0(2mo ago)03MITPHPPHP ^8.5

Since Mar 25Pushed 3w agoCompare

[ Source](https://github.com/marko-php/marko-search)[ Packagist](https://packagist.org/packages/marko/search)[ RSS](/packages/marko-search/feed)WikiDiscussions develop Synced 3w ago

READMEChangelogDependencies (16)Versions (18)Used By (0)

marko/search
============

[](#markosearch)

Generic search abstraction--add full-text search to any entity with a database driver included and support for Elasticsearch, Meilisearch, and Typesense drivers.

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

[](#installation)

```
composer require marko/search
```

Quick Example
-------------

[](#quick-example)

```
use Marko\Search\Driver\DatabaseSearchDriver;
use Marko\Search\Value\SearchCriteria;

$driver = new DatabaseSearchDriver(
    connection: $connection,
    tableName: 'posts',
    searchable: new Post(),
);

$result = $driver->search(
    query: 'php tutorial',
    criteria: SearchCriteria::create('php tutorial')
        ->withSort('created_at', 'desc')
        ->withPage(1)
        ->withPerPage(10),
);
```

Documentation
-------------

[](#documentation)

Full usage, API reference, and examples: [marko/search](https://marko.build/docs/packages/search/)

###  Health Score

39

—

LowBetter than 85% of packages

Maintenance90

Actively maintained with recent releases

Popularity3

Limited adoption so far

Community6

Small or concentrated contributor base

Maturity50

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

Every ~1 days

Total

16

Last Release

79d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/437029?v=4)[Mark Shust](/maintainers/markshust)[@markshust](https://github.com/markshust)

---

Top Contributors

[![markshust](https://avatars.githubusercontent.com/u/437029?v=4)](https://github.com/markshust "markshust (6 commits)")

###  Code Quality

TestsPest

### Embed Badge

![Health badge](/badges/marko-search/health.svg)

```
[![Health](https://phpackages.com/badges/marko-search/health.svg)](https://phpackages.com/packages/marko-search)
```

PHPackages © 2026

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