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

[phpdocumentor/graphviz

Wrapper for Graphviz

9611.3M21](/packages/phpdocumentor-graphviz)[beberlei/composer-monorepo-plugin

312503.1k](/packages/beberlei-composer-monorepo-plugin)[stephenjude/filament-feature-flags

Filament implementation of feature flags and segmentation with Laravel Pennant.

118126.9k](/packages/stephenjude-filament-feature-flags)[brotkrueml/schema

Embedding schema.org vocabulary - API and view helpers for schema.org markup

33584.6k13](/packages/brotkrueml-schema)[eduarguz/shift-php-cs

PHP CS Fixer - Laravel Coding Style Ruleset

1145.5k29](/packages/eduarguz-shift-php-cs)

PHPackages © 2026

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