PHPackages                             remi-san/context - 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. remi-san/context

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

remi-san/context
================

A set of interfaces to describe the context of an object

v1.0.0(10y ago)1708MITPHP

Since Mar 13Pushed 9y ago1 watchersCompare

[ Source](https://github.com/remi-san/context)[ Packagist](https://packagist.org/packages/remi-san/context)[ RSS](/packages/remi-san-context/feed)WikiDiscussions master Synced 2mo ago

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

Context
=======

[](#context)

[![Author](https://camo.githubusercontent.com/4488dd05eac93ae677fc802ca3f7ecdf019ffac5386384282044a33dd0858654/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f617574686f722d4052656d6953616e2d626c75652e7376673f7374796c653d666c61742d737175617265)](https://twitter.com/RemiSan)[![Build Status](https://camo.githubusercontent.com/807d42e83ae611670f87778a7f07d63973a37844fa4966916dd1398ca4edee1c/68747470733a2f2f696d672e736869656c64732e696f2f7472617669732f72656d692d73616e2f636f6e746578742f6d61737465722e7376673f7374796c653d666c61742d737175617265)](https://travis-ci.org/remi-san/context)[![Quality Score](https://camo.githubusercontent.com/9c4beb30c0e751460fbbd0be906ff14c2bd3d41b87827f822df01b3da8b48d83/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f672f72656d692d73616e2f636f6e746578742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/remi-san/context)[![Software License](https://camo.githubusercontent.com/55c0218c8f8009f06ad4ddae837ddd05301481fcf0dff8e0ed9dadda8780713e/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f6c6963656e73652d4d49542d627269676874677265656e2e7376673f7374796c653d666c61742d737175617265)](LICENSE)[![Packagist Version](https://camo.githubusercontent.com/d87c5251d9fa6e885a2a84a4f150e2d7768d26117291f63ae32c48d7e443410a/68747470733a2f2f696d672e736869656c64732e696f2f7061636b61676973742f762f72656d692d73616e2f636f6e746578742e7376673f7374796c653d666c61742d737175617265)](https://packagist.org/packages/remi-san/context)[![Coverage Status](https://camo.githubusercontent.com/351330548d1289b1bf7fe0d5552f696de0d34ca2bef5c04330f132cfbb875143/68747470733a2f2f696d672e736869656c64732e696f2f7363727574696e697a65722f636f7665726167652f672f72656d692d73616e2f636f6e746578742e7376673f7374796c653d666c61742d737175617265)](https://scrutinizer-ci.com/g/remi-san/context/code-structure)[![SensioLabsInsight](https://camo.githubusercontent.com/1de6930616b73be09819d07ad414c5ef97368b57fa9ff37311eeff5540d06181/68747470733a2f2f696e73696768742e73656e73696f6c6162732e636f6d2f70726f6a656374732f62626630666434322d623631622d343835632d623237352d6536623637663530643563372f736d616c6c2e706e67)](https://insight.sensiolabs.com/projects/bbf0fd42-b61b-485c-b275-e6b67f50d5c7)

A lib providing interfaces and a container to deal with **contexts** in an application.

A **context** object should implement the `Context` interface.

If an object should be aware of the context, it should implement the `ContextAware` interface.

If you want to store a context statically, use the static class `ContextContainer`.

###  Health Score

29

—

LowBetter than 59% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity15

Limited adoption so far

Community7

Small or concentrated contributor base

Maturity63

Established project with proven stability

 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

Unknown

Total

1

Last Release

3717d ago

### Community

Maintainers

![](https://www.gravatar.com/avatar/9999746240ba052017622ecdce5ac44e6a43db5f38084ff7644691207925c043?d=identicon)[remi-san](/maintainers/remi-san)

---

Top Contributors

[![remi-san](https://avatars.githubusercontent.com/u/5213540?v=4)](https://github.com/remi-san "remi-san (15 commits)")

---

Tags

Context

###  Code Quality

Code StylePHP\_CodeSniffer

### Embed Badge

![Health badge](/badges/remi-san-context/health.svg)

```
[![Health](https://phpackages.com/badges/remi-san-context/health.svg)](https://phpackages.com/packages/remi-san-context)
```

###  Alternatives

[kartik-v/yii2-nav-x

An extended bootstrap Nav widget for Yii 2 with submenu drilldown.

27564.8k6](/packages/kartik-v-yii2-nav-x)

PHPackages © 2026

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