PHPackages                             brezgalov/php-specification-pattern - 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. [Utility &amp; Helpers](/categories/utility)
4. /
5. brezgalov/php-specification-pattern

ActiveLibrary[Utility &amp; Helpers](/categories/utility)

brezgalov/php-specification-pattern
===================================

Specification pattern implementation

03PHP

Since Feb 20Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Brezgalov/php-specification-pattern)[ Packagist](https://packagist.org/packages/brezgalov/php-specification-pattern)[ RSS](/packages/brezgalov-php-specification-pattern/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependenciesVersions (1)Used By (0)

Description
-----------

[](#description)

Implementation for base Specification pattern classes

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

[](#installation)

> composer require brezgalov/php-specification-pattern dev-master

Usage
-----

[](#usage)

- Extend AbstractSpecification class
- Implement isSatisfiedBy method as you wish to
- Feel free to use logical methods to combine your specifications

###  Health Score

14

—

LowBetter than 2% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity3

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity23

Early-stage or recently created project

 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/ba5437e2f11c8cf8548822ad3c8e80eb9f9e84d266daf340e72681195aa7810d?d=identicon)[Brezgalov](/maintainers/Brezgalov)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/brezgalov-php-specification-pattern/health.svg)

```
[![Health](https://phpackages.com/badges/brezgalov-php-specification-pattern/health.svg)](https://phpackages.com/packages/brezgalov-php-specification-pattern)
```

###  Alternatives

[tatter/alerts

Lightweight user alerts for CodeIgniter 4

4072.4k6](/packages/tatter-alerts)[humanmade/altis-reusable-blocks

Adds functionality to reusable blocks to enhance their usage.

11183.7k5](/packages/humanmade-altis-reusable-blocks)[yiibr/yii2-correios

Locates an address in Brazil by postal code

1214.2k](/packages/yiibr-yii2-correios)

PHPackages © 2026

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