PHPackages                             predicate/framework - 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. [Framework](/categories/framework)
4. /
5. predicate/framework

ActiveLibrary[Framework](/categories/framework)

predicate/framework
===================

The framework for creating the predicates

1121PHP

Since Sep 12Pushed 9y ago1 watchersCompare

[ Source](https://github.com/krzysiekpiasecki/predicate)[ Packagist](https://packagist.org/packages/predicate/framework)[ RSS](/packages/predicate-framework/feed)WikiDiscussions master Synced 2mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

**Predicate**
=============

[](#predicate)

The PHP framework for creating the predicates that accepts input arguments and returns boolean value

[![img](https://camo.githubusercontent.com/7071bfd4defd830e8ab9e06e39ef3160c1c41143a00e9482bb6f8986ed309a98/68747470733a2f2f6b727a797369656b7069617365636b692e6769746875622e696f2f5072656469636174652f696d672f7468656d652e706e67)](https://camo.githubusercontent.com/7071bfd4defd830e8ab9e06e39ef3160c1c41143a00e9482bb6f8986ed309a98/68747470733a2f2f6b727a797369656b7069617365636b692e6769746875622e696f2f5072656469636174652f696d672f7468656d652e706e67)

### What is a predicate?

[](#what-is-a-predicate)

A predicate is commonly understood to be a Boolean-valued function P: X→ {true, false}, called the predicate on X. The result of the predicate may be true or false depending on the values of its arguments.

### Documentation

[](#documentation)

Are you interested in more details? [Here's the complete documentation of API](https://krzysiekpiasecki.github.io/Predicate/api/index.html).

### Install

[](#install)

Predicate is distributed via [Composer](https://getcomposer.org) and [Packagist](https://packagist.org/packages/pfunctor/predicate).

### License

[](#license)

The MIT License - Copyright (c) 2016 Krzysztof Piasecki

### Credits

[](#credits)

"Predicate(mathematical logic)" - [Wikipedia](https://en.wikipedia.org/wiki/Predicate_(mathematical_logic))

"Speech bubbles and man" - [Designed by Freepik](http://www.freepik.com/free-vector/speech-bubbles-and-man_765060.htm)

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity8

Limited adoption so far

Community8

Small or concentrated contributor base

Maturity41

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/16c9504da9e751d3555b16b9a1d81685cff9ca38f7bdbaacbcbce730a4dafc9c?d=identicon)[krzysztek](/maintainers/krzysztek)

---

Top Contributors

[![krzysiekpiasecki](https://avatars.githubusercontent.com/u/4520629?v=4)](https://github.com/krzysiekpiasecki "krzysiekpiasecki (50 commits)")

### Embed Badge

![Health badge](/badges/predicate-framework/health.svg)

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

###  Alternatives

[laravel/telescope

An elegant debug assistant for the Laravel framework.

5.2k67.8M192](/packages/laravel-telescope)[spiral/roadrunner

RoadRunner: High-performance PHP application server and process manager written in Go and powered with plugins

8.4k12.2M84](/packages/spiral-roadrunner)[nolimits4web/swiper

Most modern mobile touch slider and framework with hardware accelerated transitions

41.8k177.2k1](/packages/nolimits4web-swiper)[laravel/dusk

Laravel Dusk provides simple end-to-end testing and browser automation.

1.9k36.7M259](/packages/laravel-dusk)[laravel/prompts

Add beautiful and user-friendly forms to your command-line applications.

708181.8M596](/packages/laravel-prompts)[cakephp/chronos

A simple API extension for DateTime.

1.4k47.7M121](/packages/cakephp-chronos)

PHPackages © 2026

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