PHPackages                             mireiawen/input - 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. mireiawen/input

ActiveLibrary

mireiawen/input
===============

Input parsers for $\_POST, $\_GET, $\_SESSION and $\_ENV

1.2.0(3y ago)02581MITPHPPHP &gt;=7.4.0

Since Jun 5Pushed 3y ago1 watchersCompare

[ Source](https://github.com/Mireiawen/input)[ Packagist](https://packagist.org/packages/mireiawen/input)[ RSS](/packages/mireiawen-input/feed)WikiDiscussions master Synced 1mo ago

READMEChangelogDependencies (1)Versions (5)Used By (1)

Input
=====

[](#input)

Simple set of classes to allow reading of PHP input arrays `$_GET`, `$_POST`, `$_ENV` and `$_SESSION`

The classes have methods to read the values as different types and either cast the value to type, or throw exception of class `Type` if the value in the input array is not of correct type.

The methods will also throw `MissingValue` -exception if the value does not exist and no default value is given.

Requirements
------------

[](#requirements)

- Intl extension
- PHP 7.3

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

[](#installation)

You can clone or download the code from the [GitHub repository](https://github.com/Mireiawen/input) or you can use composer: `composer require mireiawen/input`

###  Health Score

28

—

LowBetter than 54% of packages

Maintenance20

Infrequent updates — may be unmaintained

Popularity14

Limited adoption so far

Community9

Small or concentrated contributor base

Maturity58

Maturing project, gaining track record

 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 ~247 days

Total

4

Last Release

1431d ago

Major Versions

0.1.0 → 1.0.12020-06-08

PHP version history (2 changes)0.1.0PHP &gt;=7.3.0

1.2.0PHP &gt;=7.4.0

### Community

Maintainers

![](https://www.gravatar.com/avatar/0b939943c063fd46acb5c8cd353ed8f69511ea19527d9196a09c382e828847bc?d=identicon)[Mireiawen](/maintainers/Mireiawen)

---

Top Contributors

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

### Embed Badge

![Health badge](/badges/mireiawen-input/health.svg)

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

PHPackages © 2026

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