2017 © Pedro Peláez
 

library naughty-validator

Symfony validator for naughty strings

image

emanueleminotto/naughty-validator

Symfony validator for naughty strings

  • Saturday, December 24, 2016
  • by EmanueleMinotto
  • Repository
  • 1 Watchers
  • 0 Stars
  • 200 Installations
  • PHP
  • 0 Dependents
  • 0 Suggesters
  • 0 Forks
  • 0 Open issues
  • 3 Versions
  • 0 % Grown

The README.md

Naughty Strings Validator

Latest Version on Packagist ![Software License][ico-license] Build Status ![Coverage Status][ico-scrutinizer] Quality Score ![Total Downloads][ico-downloads], (*1)

Symfony validator for unsafe strings, based on minimaxir/big-list-of-naughty-strings., (*2)

Install

Via Composer, (*3)

``` bash $ composer require emanueleminotto/naughty-validator, (*4)


## Usage ``` php use EmanueleMinotto\NaughtyValidator\NotNaughty; $constraint = new NotNaughty(); $constraint->message = 'This value is not safe.'; // use the validator to validate the value $errorList = $this ->get('validator') ->validate('<>?:"{}|_+', $constraint); $errorMessage = $errorList[0]->getMessage();

Change log

Please see CHANGELOG for more information on what has changed recently., (*5)

Testing

bash $ composer test, (*6)

Contributing

Please see CONTRIBUTING and CONDUCT for details., (*7)

Security

If you discover any security related issues, please email minottoemanuele@gmail.com instead of using the issue tracker., (*8)

Credits

License

The MIT License (MIT). Please see License File for more information., (*9)

The Versions

24/12 2016

dev-master

9999999-dev https://github.com/EmanueleMinotto/naughty-validator

Symfony validator for naughty strings

  Sources   Download

MIT

The Requires

 

The Development Requires

validator symfony naughty strings

24/12 2016

1.0.1

1.0.1.0 https://github.com/EmanueleMinotto/naughty-validator

Symfony validator for naughty strings

  Sources   Download

MIT

The Requires

 

The Development Requires

validator symfony naughty strings

24/12 2016

1.0.0

1.0.0.0 https://github.com/EmanueleMinotto/naughty-validator

Symfony validator for naughty strings

  Sources   Download

MIT

The Requires

 

The Development Requires

validator symfony naughty strings