PHPackages                             oleku/supervarriable - 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. oleku/supervarriable

ActiveLibrary

oleku/supervarriable
====================

Filter for inputs

014PHP

Since Aug 22Pushed 12y ago1 watchersCompare

[ Source](https://github.com/hasanilingi/SuperVariable)[ Packagist](https://packagist.org/packages/oleku/supervarriable)[ RSS](/packages/oleku-supervarriable/feed)WikiDiscussions master Synced 2d ago

READMEChangelogDependenciesVersions (1)Used By (0)

SuperVariable
=============

[](#supervariable)

I simple wrapper `POST`, `GET` , `REQUEST` or any `Array` in PHP

#### Example

[](#example)

In your php file where you want to use

```
use Oleku\Supervarriable\Varriable;
use Oleku\Supervarriable\Filter\Basic;

// Generate Fake post Data
$_POST['hello'] = "Hello word";

```PHP
//Start super Variable
$_POST = new Varriable($_POST);

/**
 * You can Ignore some fields that should not be filtred
 * eg Binary , XML , JSON etc;
 */

$_POST->ignore("image", "binary");

echo $_POST['hello'], PHP_EOL; // array
echo $_POST->hello, PHP_EOL; // object
echo $_POST("hello"), PHP_EOL; // function

echo $_POST->offsetGet("hello"), PHP_EOL; // direct
echo $_POST->hello(), PHP_EOL; // methods

// Lest have more fun and file array based on path
echo $_POST->find("testing.example.filter"), PHP_EOL;

// This ould not be modified because of ignore
echo $_POST['binary'], PHP_EOL;

/*
 * This would return error because modification is disable but it can be enabled
 * $_POST = new Varriable($_POST,null,Varriable::ALLOW_GET |
 * Varriable::ALLOW_SET);
 */
echo $_POST['hello'] = "Modify";
```

#### Output

[](#output)

It would all give you the same value

```
Hello word
Hello word
Hello word
Hello word
Hello word
Let's meet 4:30am �t the caf�
Fatal error: Uncaught exception 'ErrorException' with message 'Offset assignment disabled'

```

#### More Examples

[](#more-examples)

- [General Usage](docs/USAGE_GENERAL.md)
- [Using Filters](docs/USAGE_FILTER.md)

#### Licence [MIT](http://opensource.org/licenses/MIT)

[](#licence-mit)

```
Copyright (c) 2013 Oleku Konko

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
in the Software without restriction, including without limitation the rights
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.

```

###  Health Score

21

—

LowBetter than 19% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity6

Limited adoption so far

Community10

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 90% 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://www.gravatar.com/avatar/5d26a2d8cea9900af6f6933faade3a2f0b44e2c93808b2446b009ffc9db0b47f?d=identicon)[hasanilingi](/maintainers/hasanilingi)

![](https://www.gravatar.com/avatar/66f7aef00ebf1d73a2c6821dc82942a1e7d17df84fc8ffe15d6536f29d2d4fb4?d=identicon)[oleku](/maintainers/oleku)

---

Top Contributors

[![hasanilingi](https://avatars.githubusercontent.com/u/4736856?v=4)](https://github.com/hasanilingi "hasanilingi (9 commits)")[![olekukonko](https://avatars.githubusercontent.com/u/2615393?v=4)](https://github.com/olekukonko "olekukonko (1 commits)")

### Embed Badge

![Health badge](/badges/oleku-supervarriable/health.svg)

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

PHPackages © 2026

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