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(10mo ago)02BSD-2-ClausePHP

Since Aug 14Pushed 10mo 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 today

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

25

—

LowBetter than 35% of packages

Maintenance53

Moderate activity, may be stable

Popularity2

Limited adoption so far

Community2

Small or concentrated contributor base

Maturity36

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

323d 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

[phayes/geophp

GeoPHP is a open-source native PHP library for doing geometry operations. It is written entirely in PHP and can therefore run on shared hosts. It can read and write a wide variety of formats: WKT (including EWKT), WKB (including EWKB), GeoJSON, KML, GPX, GeoRSS). It works with all Simple-Feature geometries (Point, LineString, Polygon, GeometryCollection etc.) and can be used to get centroids, bounding-boxes, area, and a wide variety of other useful information.

89010.5M26](/packages/phayes-geophp)[laminas/laminas-dependency-plugin

Replace zendframework and zfcampus packages with their Laminas Project equivalents.

3114.8M125](/packages/laminas-laminas-dependency-plugin)[sylius-labs/polyfill-symfony-framework-bundle

Symfony FrameworkBundle Polyfill

136.1M2](/packages/sylius-labs-polyfill-symfony-framework-bundle)[saloonphp/pagination-plugin

Official Pagination Plugin For Saloon v3

102.0M106](/packages/saloonphp-pagination-plugin)[typisttech/wp-admin-notices

A simplified OOP implementation of the WordPress admin notices

141.2k](/packages/typisttech-wp-admin-notices)

PHPackages © 2026

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