Libraries tagged by sanitize string
sspat/es-query-sanitizer
288252 Downloads
Simple helper class to sanitize ElasticSearch reserved characters from query strings
itools/smartstring
56705 Downloads
XSS-safe strings for PHP templates: values HTML-encode themselves on echo, interpolation, and concatenation, at least 3x faster than calling htmlspecialchars() yourself
ricventu/laravel-anti-xss
855 Downloads
Laravel wrapper for voku/anti-xss — Facade, service, validation rule, middleware and Blade directive to sanitize XSS in strings.
vpg/titon.utility
17650 Downloads
The Titon utility package provides convenience classes for basic tasks like validation, formatting, sanitization and more.
bitandblack/helpers
19587 Downloads
Useful methods for PHP you may like.
dealnews/filter
8066 Downloads
This class is a drop in replacement and wrapper for filter_var, filter_var_array, filter_input, and filter_input_array. The only filters that are modified are ones using \DealNews\Filter\Filter::FILTER_SANITIZE_STRING.
snebes/html-sanitizer
19191 Downloads
Sanitize HTML5 strings
sugarcommerce/sanitize
45 Downloads
Untrusted strings in, something safe to store out. Control characters and display-spoofing Unicode stripped, addresses and URLs validated, integers clamped, allow-lists for the values that reach SQL as identifiers. Zero dependencies.
webpatser/laravel-sanitize
39113 Downloads
Laravel package to sanatize a string for use as URL's. It uses the PHP Normalizer class and fills whitespace with dashes.
codeinc/utf8-sanitizer
1199 Downloads
Sanitize UTF-8 strings
remialvado/titon-utility
17346 Downloads
The Titon utility package provides convenience classes for basic tasks like validation, formatting, sanitization and more.
okipa/php-data-sanitizer
9512 Downloads
Data sanitizer to auto-cast entries, convert empty strings to null, etc.
vgd/sanitize_string
38 Downloads
Sometimes you may want to clean a filename or string from foreign languages characters; with this class you can do both
fawno/sanitize
13 Downloads
Simple PHP function for sanitize strings
fernandozueet/php-sanitize
29 Downloads
Sanitize php values