PHPackages                             scullwm/inboxsearch - 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. scullwm/inboxsearch

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

scullwm/inboxsearch
===================

wip

1061PHP

Since Sep 29Pushed 9y ago2 watchersCompare

[ Source](https://github.com/ScullWM/InboxSearch)[ Packagist](https://packagist.org/packages/scullwm/inboxsearch)[ RSS](/packages/scullwm-inboxsearch/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (2)Used By (0)

InboxSearch
===========

[](#inboxsearch)

Search operators library. See more from Gmail:

Supported operators
-------------------

[](#supported-operators)

- Filename (string)
- Size (integer - convert string in bytes)
- Has (string)
- From (string)
- To (string)
- Subject (string)
- Label (string)
- Delivered To (string)
- After (\\DateTime)
- Before (\\DateTime)
- Older (\\DateTime)
- Newer (\\DateTime)
- In (string)

How to use
----------

[](#how-to-use)

```
$term = 'from:thomas@scullwm.com forum';
$factory = new InboxSearchFactory($term);

//  return InboxSearchInterface
$inboxSearch = $factory->process();

$from    = $inboxSearch->getFrom(); // thomas@scullwm.com
$keyword = $inboxSearch->getKeyword(); // array('from' => 'forum')

$fromKeyword = $inboxSearch->getKeywordFor(InboxSearchInterface::FILTER_FROM); // forum
```

Create your own filter
----------------------

[](#create-your-own-filter)

Filter must implement `FilterInterface`. Then register the filter in your factory instance

```
$factory = new InboxSearchFactory($term);

$myFilterParserFqcn = 'Swm\InboxSearch\FilterModel\MyCustomFilter';
$factory->addFilterParser($myFilterParserFqcn);
```

Tests
-----

[](#tests)

```
php composer install --dev
bin/atoum -d tests/units
```

###  Health Score

23

—

LowBetter than 26% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity11

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity43

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.

### Community

Maintainers

![](https://www.gravatar.com/avatar/4a27e3236ea45c2a93f2ef189f37c0c72bfab70f6d73714d396456c6e3d3c25c?d=identicon)[ScullWM](/maintainers/ScullWM)

---

Top Contributors

[![ScullWM](https://avatars.githubusercontent.com/u/1017746?v=4)](https://github.com/ScullWM "ScullWM (16 commits)")

---

Tags

filtergmail-inboxsearch-enginesearch-operatorsearchingsearching-algorithmssearchquery

### Embed Badge

![Health badge](/badges/scullwm-inboxsearch/health.svg)

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

###  Alternatives

[awesome-nova/dependent-filter

Dependent filters for Laravel Nova

26190.2k](/packages/awesome-nova-dependent-filter)

PHPackages © 2026

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