PHPackages                             d-scho/specifications - 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. d-scho/specifications

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

d-scho/specifications
=====================

Implementation of the specification behavioral design pattern

v1.0.0(1y ago)02BSD-2-ClausePHP

Since Aug 14Pushed 1y agoCompare

[ Source](https://github.com/d-scho/specifications)[ Packagist](https://packagist.org/packages/d-scho/specifications)[ RSS](/packages/d-scho-specifications/feed)WikiDiscussions main Synced 1w ago

READMEChangelog (1)Dependencies (3)Versions (2)Used By (0)

d-scho/specifications
=====================

[](#d-schospecifications)

PHP implementation of the specification behavioral design pattern
-----------------------------------------------------------------

[](#php-implementation-of-the-specification-behavioral-design-pattern)

> Licensed under the BSD 2-Clause License © 2025 David Schönhofen. See [LICENSE](LICENCE) for details.

---

Install via

```
composer require d-scho/specifications
```

---

See the `example` folder for an example case of managing deployment requests by different users for different environments.

```
php example/DeploymentPermissionsCase.php
```

###  Health Score

24

—

LowBetter than 30% of packages

Maintenance49

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity37

Early-stage or recently created project

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

Unknown

Total

1

Last Release

368d ago

### Community

Maintainers

![](https://avatars.githubusercontent.com/u/72603208?v=4)[David Schönhofen](/maintainers/d-scho)[@d-scho](https://github.com/d-scho)

###  Code Quality

TestsPHPUnit

Static AnalysisPHPStan

Code StylePHP CS Fixer

Type Coverage Yes

### Embed Badge

![Health badge](/badges/d-scho-specifications/health.svg)

```
[![Health](https://phpackages.com/badges/d-scho-specifications/health.svg)](https://phpackages.com/packages/d-scho-specifications)
```

###  Alternatives

[ozdemir/datatables

Simplify your Datatables server-side processing effortlessly using our lightning-fast PHP library, streamlining your workflow seamlessly.

277173.0k](/packages/ozdemir-datatables)[aeon-php/rate-limiter

Aeon rate limiter (throttling) library

10143.6k1](/packages/aeon-php-rate-limiter)[tatter/workflows

Job task control through dynamic workflows, for CodeIgniter 4

211.7k](/packages/tatter-workflows)

PHPackages © 2026

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