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

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

castor/context
==============

Context information passing abstraction for PHP

1.1.0(3y ago)040BSD-3-ClausePHPPHP &gt;=8.0

Since Oct 3Pushed 3y ago1 watchersCompare

[ Source](https://github.com/castor-labs/context)[ Packagist](https://packagist.org/packages/castor/context)[ RSS](/packages/castor-context/feed)WikiDiscussions main Synced 1mo ago

READMEChangelog (3)Dependencies (3)Versions (4)Used By (0)

Castor Context
==============

[](#castor-context)

[![php-workflow](https://github.com/castor-labs/context/actions/workflows/php.yml/badge.svg?branch=main)](https://github.com/castor-labs/context/actions/workflows/php.yml/badge.svg?branch=main)[![code-coverage](https://camo.githubusercontent.com/94a21436975d2dfb6d88e960405783c1a3bc02806078ed1399fda657e56db221/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f7665726167652d3130302532352d627269676874677265656e2e7376673f6c6f6e6743616368653d74727565267374796c653d666c6174)](https://camo.githubusercontent.com/94a21436975d2dfb6d88e960405783c1a3bc02806078ed1399fda657e56db221/68747470733a2f2f696d672e736869656c64732e696f2f62616467652f436f7665726167652d3130302532352d627269676874677265656e2e7376673f6c6f6e6743616368653d74727565267374796c653d666c6174)

Context passing abstraction for modern PHP projects, inspired in [Golang's `context` package](https://pkg.go.dev/context).

Installation
------------

[](#installation)

```
composer require castor/context
```

Quick Start
-----------

[](#quick-start)

```
