PHPackages                             alex-kalanis/filter - 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. alex-kalanis/filter

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

alex-kalanis/filter
===================

Shareable filter - basic interfaces

v1.0.3(3y ago)035BSD-3-ClausePHPPHP &gt;=7.3.0

Since Dec 29Pushed 3y ago1 watchersCompare

[ Source](https://github.com/alex-kalanis/filter)[ Packagist](https://packagist.org/packages/alex-kalanis/filter)[ RSS](/packages/alex-kalanis-filter/feed)WikiDiscussions master Synced today

READMEChangelog (4)Dependencies (5)Versions (5)Used By (0)

Filter Interfaces
=================

[](#filter-interfaces)

[![Build Status](https://camo.githubusercontent.com/408f3028c44f35f4d7cef54cf5f8b77f3354bd53e70e83045db7c2d4406c1724/68747470733a2f2f6170702e7472617669732d63692e636f6d2f616c65782d6b616c616e69732f66696c7465722e7376673f6272616e63683d6d6173746572)](https://app.travis-ci.com/github/alex-kalanis/filter)[![Scrutinizer Code Quality](https://camo.githubusercontent.com/7d4b0bba40614b9ad596c19488125432a6eb4d4e3732bae2dbd5db8bcf052588/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f66696c7465722f6261646765732f7175616c6974792d73636f72652e706e673f623d6d6173746572)](https://scrutinizer-ci.com/g/alex-kalanis/filter/?branch=master)[![Latest Stable Version](https://camo.githubusercontent.com/dbe034b57d71b75bbd9f69bd973a0c5ffb7128225daea0a4a0fc70fffcf474fc/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f66696c7465722f762f737461626c652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/filter)[![Minimum PHP Version](https://camo.githubusercontent.com/eed4d5cf01364b115489810f47ed4b33191d997e7ab4014f3daff1c09fbae7d9/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f7068702d253345253344253230372e332d3838393242462e737667)](https://php.net/)[![Downloads](https://camo.githubusercontent.com/4f9625917c50b1a9ac754194dd8b868edf47f8a0c7b270a58508afffe0bc8818/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f64742f616c65782d6b616c616e69732f66696c7465722e7376673f7631)](https://packagist.org/packages/alex-kalanis/filter)[![License](https://camo.githubusercontent.com/4936756a8439db31386e2435cd98a2e8b4bc58f6722b24aedfc96946a0bb8007/68747470733a2f2f706f7365722e707567782e6f72672f616c65782d6b616c616e69732f66696c7465722f6c6963656e73652e7376673f763d31)](https://packagist.org/packages/alex-kalanis/filter)[![Code Coverage](https://camo.githubusercontent.com/dfefbda19a5024cd8e9459f11ce7c68ec0821c6e49e85cef8e6bd73fcb67eed2/68747470733a2f2f7363727574696e697a65722d63692e636f6d2f672f616c65782d6b616c616e69732f66696c7465722f6261646765732f636f7665726167652e706e673f623d6d617374657226763d31)](https://scrutinizer-ci.com/g/alex-kalanis/filter/?branch=master)

Contains simple interfaces for creating filtering compatible across the libraries. It has been cut from running project and simplified for usage available for another libraries.

This is the mixed package - contains sever-side implementation in Python and PHP.

PHP Installation
================

[](#php-installation)

```
{
    "require": {
        "alex-kalanis/filter": "1.1"
    }
}

```

(Refer to [Composer Documentation](https://github.com/composer/composer/blob/master/doc/00-intro.md#introduction) if you are not familiar with composer)

PHP Usage
=========

[](#php-usage)

1.) Use your autoloader (if not already done via Composer autoloader)

2.) Connect the "kalanis\\kw\_filter" into your app. When it came necessary you can extends every library to comply your use-case; mainly your storage and processing.

Python Installation
===================

[](#python-installation)

into your "setup.py":

```
    install_requires=[
        'kw_filter',
    ]

```

Python Usage
============

[](#python-usage)

1.) Connect the "kw\_filter\\filter" into your app. When it came necessary you can extends every library to comply your use-case; mainly your storage and processing.

###  Health Score

23

—

LowBetter than 27% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity7

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity51

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 ~273 days

Total

4

Last Release

1137d ago

PHP version history (2 changes)v1.0.0PHP &gt;=7.2.0

v1.0.3PHP &gt;=7.3.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/499b0a541b787cdb31412f578c7b94c9790bcbee7de12c65b6101c6ce45ef6f0?d=identicon)[alex-kalanis](/maintainers/alex-kalanis)

---

Top Contributors

[![alex-kalanis](https://avatars.githubusercontent.com/u/59184183?v=4)](https://github.com/alex-kalanis "alex-kalanis (13 commits)")

---

Tags

interfacesfilterinputs

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/alex-kalanis-filter/health.svg)

```
[![Health](https://phpackages.com/badges/alex-kalanis-filter/health.svg)](https://phpackages.com/packages/alex-kalanis-filter)
```

###  Alternatives

[clue/stream-filter

A simple and modern approach to stream filtering in PHP

1.7k261.7M7](/packages/clue-stream-filter)[laminas/laminas-filter

Programmatically filter and normalize data and files

9428.0M149](/packages/laminas-laminas-filter)[friendsofcake/search

CakePHP Search plugin using PRG pattern

1742.0M37](/packages/friendsofcake-search)[htmlawed/htmlawed

Official htmLawed PHP library for HTML filtering

401.1M9](/packages/htmlawed-htmlawed)[outl1ne/nova-multiselect-filter

Multiselect filter for Laravel Nova.

45802.7k3](/packages/outl1ne-nova-multiselect-filter)[outl1ne/nova-detached-filters

This Laravel Nova package allows you to detach filters from the filter dropdown

64343.5k](/packages/outl1ne-nova-detached-filters)

PHPackages © 2026

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