PHPackages                             aoepeople/aoe\_sessionvars - 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. aoepeople/aoe\_sessionvars

AbandonedArchivedMagento-module[Utility &amp; Helpers](/categories/utility)

aoepeople/aoe\_sessionvars
==========================

Capture variables coming in from outside

v0.3.2(10y ago)55621OSL-3.0PHP

Since Aug 28Pushed 10y ago37 watchersCompare

[ Source](https://github.com/AOEpeople/Aoe_SessionVars)[ Packagist](https://packagist.org/packages/aoepeople/aoe_sessionvars)[ Docs](https://github.com/AOEpeople/Aoe_SessionVars)[ RSS](/packages/aoepeople-aoe-sessionvars/feed)WikiDiscussions master Synced today

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

AOE SessionVars
===============

[](#aoe-sessionvars)

Description
-----------

[](#description)

The purpose of this module is to provide a generic way to "capture" variables coming in from outside (via url parameter or cookie) and store them in the specified session, so it can be consumed by other modules from there

Authors/Contributors
--------------------

[](#authorscontributors)

- [Manish Jain](https://github.com/manish172)
- [Fabrizio Branca](https://github.com/fbrnc)

Usage
-----

[](#usage)

On every page hit incoming variable should be evaluated and validated against the regex pattern. Then stored in the session. If a value already exist in the session and a new value is being provided then the new one should overwrite the existing one.

How it works
------------

[](#how-it-works)

Add the variables in your module's config.xml which needs to be set in session

```

```

Example:

```

				cp
				MAGENTO_CP
				/^[^$|\s+$]/]]>
				customer

```

In above example, If URL contains the parameter as 'cp' or 'MAGENTO\_CP' cookie is set, value of 'cp' or 'MAGENTO\_CP' will be set in specified session (scope).

It also come with a concept to easily consume the session variable in CMS blocks (or other text that's processed with the template filters).

Example:

Incoming request: [http://www.example.com/?lang=en-ca&amp;country=ca](http://www.example.com/?lang=en-ca&country=ca)

CMS content: Click [here]()

```

			country

			/^[A-Za-z]{2}$/]]>

			en
			en-us

			lang

			/^([A-Za-z]{2})-([A-Za-z]{2})$/]]>

			en-us

```

###  Health Score

30

—

LowBetter than 67% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity19

Limited adoption so far

Community17

Small or concentrated contributor base

Maturity57

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 66.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 ~96 days

Total

5

Last Release

3838d ago

### Community

Maintainers

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

![](https://www.gravatar.com/avatar/960234235576bad43bcf26bd7618875f7aac66e5b86200a1339c648e55b8ad25?d=identicon)[LeeSaferite](/maintainers/LeeSaferite)

---

Top Contributors

[![manish172](https://avatars.githubusercontent.com/u/8055164?v=4)](https://github.com/manish172 "manish172 (4 commits)")[![LeeSaferite](https://avatars.githubusercontent.com/u/47386?v=4)](https://github.com/LeeSaferite "LeeSaferite (2 commits)")

### Embed Badge

![Health badge](/badges/aoepeople-aoe-sessionvars/health.svg)

```
[![Health](https://phpackages.com/badges/aoepeople-aoe-sessionvars/health.svg)](https://phpackages.com/packages/aoepeople-aoe-sessionvars)
```

###  Alternatives

[inviqa/magento-symfony-container

Provides Magento with an instance of a Symfony DI Container

2436.5k](/packages/inviqa-magento-symfony-container)[tim-reynolds/magento-qconfig

Magento config quick search

513.0k](/packages/tim-reynolds-magento-qconfig)[fastly/cdn

Fastly CDN module for Magento 1.x

275.4k](/packages/fastly-cdn)[clerk/magento

Clerk.io Turns More Browsers Into Buyers

1029.1k](/packages/clerk-magento)

PHPackages © 2026

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