PHPackages                             strukt/contract - 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. strukt/contract

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

strukt/contract
===============

Abstract Interfaces &amp; Classes

v1.1.1-alpha(1y ago)05242MITPHPPHP ^8.1

Since Feb 26Pushed 4mo ago1 watchersCompare

[ Source](https://github.com/struktapp/strukt-contract)[ Packagist](https://packagist.org/packages/strukt/contract)[ RSS](/packages/strukt-contract/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (9)Used By (2)

Strukt Contract
===============

[](#strukt-contract)

Abstract Classes and Interfaces for Strukt Framework

```
src/
└── Strukt
    └── Contract
        ├── Http
        │   ├── Error
        │   │   └── HttpErrorInterface.php
        │   ├── RequestInterface.php
        │   ├── ResponseInterface.php
        │   └── SessionInterface.php
        ├── MiddlewareInterface.php
        ├── ProviderInterface.php
        └── UserInterface.php
```

###  Health Score

36

—

LowBetter than 82% of packages

Maintenance62

Regular maintenance activity

Popularity15

Limited adoption so far

Community11

Small or concentrated contributor base

Maturity49

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.

###  Release Activity

Cadence

Every ~190 days

Recently: every ~283 days

Total

7

Last Release

398d ago

PHP version history (2 changes)v1.0.2-alphaPHP &gt;=7.4

v1.1.0-alphaPHP ^8.1

### Community

Maintainers

![](https://www.gravatar.com/avatar/6f77a56030c77ce25f7fcf6db800e45bb6a31bf3c07740b43aeabcdf5e9edec2?d=identicon)[pitsolu](/maintainers/pitsolu)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/strukt-contract/health.svg)

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

###  Alternatives

[xj/yii2-sitemap

yii2-sitemap

142.7k](/packages/xj-yii2-sitemap)

PHPackages © 2026

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