├── .phpcs.xml ├── .yamllint.yaml ├── CHANGELOG.md ├── LICENSE.md ├── README.md ├── codecov.yml ├── composer.json ├── examples ├── callback_example.php ├── data_getter_example.php ├── data_setter_example.php ├── email_validate_example.php ├── escape_sql_query_example.php ├── index.php ├── is_associative_exmaple.php ├── is_empty_example.php ├── is_valid_example.php ├── preg_replace_example.php ├── recursive_array_sanitize_example.php ├── sanitize_array_example.php ├── sanitize_associative_array_example.php ├── sanitize_string_example.php ├── str_replace_example.php ├── use_filter_var_example.php ├── use_html_entities_example.php ├── use_html_special_chars_example.php ├── use_strip_slashes_example.php ├── use_strip_tags_example.php └── use_trim_example.php ├── local-php-security-checker ├── phpunit.xml └── src ├── Sanitization.php └── Utils.php /.phpcs.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/.phpcs.xml -------------------------------------------------------------------------------- /.yamllint.yaml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/.yamllint.yaml -------------------------------------------------------------------------------- /CHANGELOG.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/CHANGELOG.md -------------------------------------------------------------------------------- /LICENSE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/LICENSE.md -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/README.md -------------------------------------------------------------------------------- /codecov.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/codecov.yml -------------------------------------------------------------------------------- /composer.json: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/composer.json -------------------------------------------------------------------------------- /examples/callback_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/callback_example.php -------------------------------------------------------------------------------- /examples/data_getter_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/data_getter_example.php -------------------------------------------------------------------------------- /examples/data_setter_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/data_setter_example.php -------------------------------------------------------------------------------- /examples/email_validate_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/email_validate_example.php -------------------------------------------------------------------------------- /examples/escape_sql_query_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/escape_sql_query_example.php -------------------------------------------------------------------------------- /examples/index.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/index.php -------------------------------------------------------------------------------- /examples/is_associative_exmaple.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/is_associative_exmaple.php -------------------------------------------------------------------------------- /examples/is_empty_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/is_empty_example.php -------------------------------------------------------------------------------- /examples/is_valid_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/is_valid_example.php -------------------------------------------------------------------------------- /examples/preg_replace_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/preg_replace_example.php -------------------------------------------------------------------------------- /examples/recursive_array_sanitize_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/recursive_array_sanitize_example.php -------------------------------------------------------------------------------- /examples/sanitize_array_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/sanitize_array_example.php -------------------------------------------------------------------------------- /examples/sanitize_associative_array_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/sanitize_associative_array_example.php -------------------------------------------------------------------------------- /examples/sanitize_string_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/sanitize_string_example.php -------------------------------------------------------------------------------- /examples/str_replace_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/str_replace_example.php -------------------------------------------------------------------------------- /examples/use_filter_var_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/use_filter_var_example.php -------------------------------------------------------------------------------- /examples/use_html_entities_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/use_html_entities_example.php -------------------------------------------------------------------------------- /examples/use_html_special_chars_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/use_html_special_chars_example.php -------------------------------------------------------------------------------- /examples/use_strip_slashes_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/use_strip_slashes_example.php -------------------------------------------------------------------------------- /examples/use_strip_tags_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/use_strip_tags_example.php -------------------------------------------------------------------------------- /examples/use_trim_example.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/examples/use_trim_example.php -------------------------------------------------------------------------------- /local-php-security-checker: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/local-php-security-checker -------------------------------------------------------------------------------- /phpunit.xml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/phpunit.xml -------------------------------------------------------------------------------- /src/Sanitization.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/src/Sanitization.php -------------------------------------------------------------------------------- /src/Utils.php: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/farisc0de/PhpSanitization/HEAD/src/Utils.php --------------------------------------------------------------------------------