Skip to content

Laravel 4 - XSS filtering user input grabber

Notifications You must be signed in to change notification settings

whollaus/Jinput

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

8 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Jinput Laravel 4 Package

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

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

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

     'Jason\Jinput\JinputServiceProvider'
    
  2. Add the following to the end of the 'aliases' array in /app/config/app.php:

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

About

Laravel 4 - XSS filtering user input grabber

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • PHP 100.0%