PHPackages                             techdivision/php-by-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. techdivision/php-by-contract

AbandonedLibrary

techdivision/php-by-contract
============================

A lightweight Design-by-Contract library for PHP

0.3.4(11y ago)142.3kOSL 3.0PHP &gt;=5.4.0

Since Jul 11Compare

[ Source](https://github.com/techdivision/php-by-contract)[ Packagist](https://packagist.org/packages/techdivision/php-by-contract)[ RSS](/packages/techdivision-php-by-contract/feed)WikiDiscussions Synced today

READMEChangelogDependencies (2)Versions (10)Used By (0)

### README not available

The README for this package hasn't been synced yet. View it on [GitHub](https://github.com/techdivision/php-by-contract).

###  Health Score

29

—

LowBetter than 63% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community5

Small or concentrated contributor base

Maturity54

Maturing project, gaining track record

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 ~2 days

Total

7

Last Release

4259d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/76b54aaecf7287a0520eec0009161ca457982dee83ac413bfa0d818b72d79947?d=identicon)[wagnert](/maintainers/wagnert)

![](https://www.gravatar.com/avatar/33b42e8c7314da5df45bca5d1dd786ea2b3d540fae5a5a9489580a886f2f4f39?d=identicon)[zelgerj](/maintainers/zelgerj)

![](https://www.gravatar.com/avatar/aa15f27f393eeb1f1a481fa7de89b41add17de686da79d49e07c5c77249c5e86?d=identicon)[wick-ed](/maintainers/wick-ed)

---

Tags

librarycontractpreconditionpostconditionDesign by contractinvariantdbc

### Embed Badge

![Health badge](/badges/techdivision-php-by-contract/health.svg)

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

###  Alternatives

[filp/whoops

php error handling for cool kids

13.3k394.4M1.3k](/packages/filp-whoops)[temporal/sdk

Temporal SDK

3971.9M14](/packages/temporal-sdk)[nutgram/nutgram

The Telegram bot library that doesn't drive you nuts

699196.9k7](/packages/nutgram-nutgram)[litesaml/lightsaml

SAML 2.0 PHP library

1045.1M12](/packages/litesaml-lightsaml)[zimbra-api/soap-api

PHP wrapper library around the Zimbra Soap API

63101.3k1](/packages/zimbra-api-soap-api)[producer/producer

Tools for releasing library packages; supports Git, Mercurial, Github, Gitlab, and Bitbucket.

10418.6k1](/packages/producer-producer)

PHPackages © 2026

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