PHPackages                             whsuite/inputs - 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. whsuite/inputs

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

whsuite/inputs
==============

Input helpers for WHSuite Framework

1.2.0(9y ago)11792PrivatePHP

Since Sep 26Pushed 9y ago1 watchersCompare

[ Source](https://github.com/WHSuite/inputs)[ Packagist](https://packagist.org/packages/whsuite/inputs)[ RSS](/packages/whsuite-inputs/feed)WikiDiscussions master Synced 4w ago

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

\#Input Helper

Input helper package for dealing with POST / GET / FILE vars.

\##Setup

To setup place the following code somewhere in your system start up. (For WHSuite this will be app/bootstrap.php).

```
\Whsuite\Inputs\Inputs::init();

```

As default it will clean POST and GET variables from XSS bad things. You can turn this off by pass a boolean value of `false` in the 'init' function call.

\##Usage

There are three other classes which interface with the Inputs class to make life easier.

- \\Whsuite\\Inputs\\Post
- \\Whsuite\\Inputs\\Get
- \\Whsuite\\Inputs\\Files

Each of these classes have get / set functions. Access is via dot notation.

`\Whsuite\Inputs\Post::get('data.Invoice.InvoiceItems.0.amount');`

This would retrieve

`$_POST['data']['Invoice']['InvoiceItems']['0']['amount'];`

You can then set data to it as well.

`\Whsuite\Inputs\Post::set('data.Invoice.InvoiceItems.0.amount', 'foobar');`

Just swap Post out for any of the other classes.

`\Whsuite\Inputs\Get::get();``\Whsuite\Inputs\Get::set();`

`\Whsuite\Inputs\Files::get();``\Whsuite\Inputs\Files::set();`

Happy Inputting.

###  Health Score

30

—

LowBetter than 62% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity64

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

Every ~0 days

Total

2

Last Release

3565d ago

### Community

Maintainers

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

---

Top Contributors

[![mikebarlow](https://avatars.githubusercontent.com/u/293049?v=4)](https://github.com/mikebarlow "mikebarlow (4 commits)")

### Embed Badge

![Health badge](/badges/whsuite-inputs/health.svg)

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

###  Alternatives

[drush/drush

Drush is a command line shell and scripting interface for Drupal, a veritable Swiss Army knife designed to make life easier for those of us who spend some of our working hours hacking away at the command prompt.

2.4k60.6M793](/packages/drush-drush)[league/config

Define configuration arrays with strict schemas and access values with dot notation

565335.0M36](/packages/league-config)[consolidation/output-formatters

Format text by applying transformations provided by plug-in formatters.

19673.1M29](/packages/consolidation-output-formatters)[grasmash/expander

Expands internal property references in PHP arrays.

14064.3M10](/packages/grasmash-expander)[dflydev/dot-access-configuration

Given a deep data structure representing a configuration, access configuration by dot notation.

13414.5M4](/packages/dflydev-dot-access-configuration)[consolidation/filter-via-dot-access-data

This project uses dflydev/dot-access-data to provide simple output filtering for applications built with annotated-command / Robo.

4650.2M22](/packages/consolidation-filter-via-dot-access-data)

PHPackages © 2026

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