PHPackages                             jasonnz/jinput - 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. [Validation &amp; Sanitization](/categories/validation)
4. /
5. jasonnz/jinput

ActiveLibrary[Validation &amp; Sanitization](/categories/validation)

jasonnz/jinput
==============

Laravel 4 XSS input filterer

189.1k4[5 issues](https://github.com/JasonMortonNZ/Jinput/issues)[1 PRs](https://github.com/JasonMortonNZ/Jinput/pulls)PHP

Since Jun 22Pushed 7y ago3 watchersCompare

[ Source](https://github.com/JasonMortonNZ/Jinput)[ Packagist](https://packagist.org/packages/jasonnz/jinput)[ RSS](/packages/jasonnz-jinput/feed)WikiDiscussions master Synced 4w ago

READMEChangelogDependenciesVersions (1)Used By (0)

Jinput Laravel 4 Package
========================

[](#jinput-laravel-4-package)

A Laravel 4 alternative to Input, allowing you to have XSS filter and sanitized user input.

Now compatible with PHP 5.3

Usage - Examples
----------------

[](#usage---examples)

Jinput::all() - Grabs all input that Input::all() would normally give you, but XSS filtered.

Jinput::get('email') - Grabs an email field, just like Input::get('email') would do, again XSS filtered.

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

[](#installation)

1. Add a new entry into the the `require: {}` array of the composer.json file in the root of your Laravel 4 project. It should look something like this:

`"require": { "laravel/framework": "4.0.*", "jasonnz/jinput": "dev-master" },`

2. Add the following to the end of the 'providers' array in /app/config/app.php:

    ```
     'JasonNZ\Jinput\JinputServiceProvider'

    ```
3. Add the following to the end of the 'aliases' array in /app/config/app.php:

    ```
     'Jinput' => 'JasonNZ\Jinput\Jinput'

    ```

How to Use
==========

[](#how-to-use)

Simple! Instead of doing the usual `Input::get('value');` do this instead: `Jinput::get('value')`;

You can also call `Jinput::all();` to get all form input;

###  Health Score

26

—

LowBetter than 41% of packages

Maintenance14

Infrequent updates — may be unmaintained

Popularity28

Limited adoption so far

Community14

Small or concentrated contributor base

Maturity41

Maturing project, gaining track record

 Bus Factor1

Top contributor holds 52.4% 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://avatars.githubusercontent.com/u/2790269?v=4)[Jason Morton](/maintainers/JasonMortonNZ)[@JasonMortonNZ](https://github.com/JasonMortonNZ)

---

Top Contributors

[![JasonMortonNZ](https://avatars.githubusercontent.com/u/2790269?v=4)](https://github.com/JasonMortonNZ "JasonMortonNZ (11 commits)")[![yobrojas](https://avatars.githubusercontent.com/u/2476224?v=4)](https://github.com/yobrojas "yobrojas (8 commits)")[![EdRands](https://avatars.githubusercontent.com/u/884726?v=4)](https://github.com/EdRands "EdRands (2 commits)")

### Embed Badge

![Health badge](/badges/jasonnz-jinput/health.svg)

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

###  Alternatives

[chaoswey/taiwan-id-validator

台灣身分證、統一編號驗證

319.9k](/packages/chaoswey-taiwan-id-validator)

PHPackages © 2026

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