PHPackages                             korowai/contextlib - 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. korowai/contextlib

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

korowai/contextlib
==================

Provides functionality similar to Python's 'with' clause and contextlib

0665PHP

Since Jan 19Pushed 5y ago1 watchersCompare

[ Source](https://github.com/korowai/contextlib)[ Packagist](https://packagist.org/packages/korowai/contextlib)[ RSS](/packages/korowai-contextlib/feed)WikiDiscussions master Synced 3d ago

READMEChangelogDependenciesVersions (2)Used By (0)

korowai/contextlib
==================

[](#korowaicontextlib)

Provides functionality similar to that of Python’s [with-statement](https://docs.python.org/reference/compound_stmts.html#with)contexts.

This package is a part of [Korowai Framework](https://github.com/korowai/framework/).

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity13

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity36

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://avatars.githubusercontent.com/u/1761140?v=4)[Paweł Tomulik](/maintainers/ptomulik)[@ptomulik](https://github.com/ptomulik)

---

Top Contributors

[![ptomulik](https://avatars.githubusercontent.com/u/1761140?v=4)](https://github.com/ptomulik "ptomulik (5 commits)")

### Embed Badge

![Health badge](/badges/korowai-contextlib/health.svg)

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

###  Alternatives

[knplabs/dictionary-bundle

Are you often tired to repeat static choices like gender or civility in your apps ?

88284.0k](/packages/knplabs-dictionary-bundle)[aura/dispatcher

Creates objects from a factory and invokes methods using named parameters; also provides a trait for invoking closures and object methods with named parameters.

3695.0k3](/packages/aura-dispatcher)[uestla/simplex-calculator

Simple tool for linear programming problems solving

427.6k](/packages/uestla-simplex-calculator)[whitecube/laravel-sluggable

Generate slugs for your models automatically - even with translated attributes

2027.2k](/packages/whitecube-laravel-sluggable)[zunnu/cake-htmx

Htmx plugin for CakePHP

187.1k1](/packages/zunnu-cake-htmx)

PHPackages © 2026

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