PHPackages                             pear/stream\_var - 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. pear/stream\_var

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

pear/stream\_var
================

Allow stream based access to any variable.

v2.0.0(3y ago)24.8k↓85.7%1LGPL-3.0PHP

Since Dec 12Pushed 3y ago11 watchersCompare

[ Source](https://github.com/pear/Stream_Var)[ Packagist](https://packagist.org/packages/pear/stream_var)[ Docs](http://pear.php.net/package/Stream_Var)[ RSS](/packages/pear-stream-var/feed)WikiDiscussions master Synced today

READMEChangelogDependencies (1)Versions (3)Used By (1)

Stream\_Var
===========

[](#stream_var)

Allow stream based access to any variable.

`Stream_Var` can be registered as a stream with `stream_register_wrapper()`and allows stream based acces to variables in any scope.

Arrays are treated as directories, so it is possible to replace temporary directories and files in your application with variables.

Usage
-----

[](#usage)

One example use case for `Stream_Var` is temporarily modifying data for code that only uses file functions:

```

```

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

[](#installation)

```
$ composer require pear/stream_var
```

Links
-----

[](#links)

Homepage[http://pear.php.net/package/Stream\_Var](http://pear.php.net/package/Stream_Var)Bug tracker[http://pear.php.net/bugs/search.php?cmd=display&amp;package\_name\[\]=Stream\_Var](http://pear.php.net/bugs/search.php?cmd=display&package_name[]=Stream_Var)DocumentationUnit test status[https://travis-ci.org/pear/Stream\_Var](https://travis-ci.org/pear/Stream_Var)

[![https://travis-ci.org/pear/Stream_Var.svg?branch=master](https://camo.githubusercontent.com/19709e00e6529d9082b36b35f7522e224ddb4280c39018b9d9f66e7b7d4ccf3d/68747470733a2f2f7472617669732d63692e6f72672f706561722f53747265616d5f5661722e7376673f6272616e63683d6d6173746572)](https://travis-ci.org/pear/Stream_Var)Packagist[https://packagist.org/packages/pear/stream\_var](https://packagist.org/packages/pear/stream_var)

###  Health Score

34

—

LowBetter than 75% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity23

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity64

Established project with proven stability

 Bus Factor1

Top contributor holds 86.7% 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 ~2657 days

Total

2

Last Release

1198d ago

Major Versions

v1.2.0 → v2.0.02023-03-22

### Community

Maintainers

![](https://www.gravatar.com/avatar/1323714f58f9144af310e5e4217e61b96ad7c42bc5c93a1f2d97deca95f6f4f8?d=identicon)[ashnazg](/maintainers/ashnazg)

![](https://www.gravatar.com/avatar/a1a2e6fe03f91204de2117430a748a12db2957eb113d4a50fc86d68d3c851e11?d=identicon)[cweiske](/maintainers/cweiske)

---

Top Contributors

[![cweiske](https://avatars.githubusercontent.com/u/59036?v=4)](https://github.com/cweiske "cweiske (26 commits)")[![till](https://avatars.githubusercontent.com/u/27003?v=4)](https://github.com/till "till (3 commits)")[![CloCkWeRX](https://avatars.githubusercontent.com/u/365751?v=4)](https://github.com/CloCkWeRX "CloCkWeRX (1 commits)")

###  Code Quality

TestsPHPUnit

### Embed Badge

![Health badge](/badges/pear-stream-var/health.svg)

```
[![Health](https://phpackages.com/badges/pear-stream-var/health.svg)](https://phpackages.com/packages/pear-stream-var)
```

###  Alternatives

[illuminate/conditionable

The Illuminate Conditionable package.

9248.7M46](/packages/illuminate-conditionable)[thestringler/manipulator

An OOP approach to string manipulation.

345.5k2](/packages/thestringler-manipulator)

PHPackages © 2026

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