fawno / sanitize
Simple PHP function for sanitize strings
Installs: 13
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 2
Forks: 0
Open Issues: 0
pkg:composer/fawno/sanitize
Requires
- php: >=7.4
Requires (Dev)
- phpunit/phpunit: @stable
This package is auto-updated.
Last update: 2025-09-17 00:05:31 UTC
README
sanitize
Simple PHP function for sanitize strings
Table of contents
Installation
Composer install
You can install this plugin into your application using composer:
-
Add fawno/sanitize package to your project:
composer require fawno/sanitize
-
Load the function Fawno\sanitize in your project
<?php require 'vendor/autoload.php'; use function Fawno\sanitize;
Manual install
- Download sanitize.php and save it to an accessible path of your project.
- Load the function Fawno\sanitize in your project
<?php require 'sanitize.php'; use function Fawno\sanitize;
Usage
use function Fawno\sanitize; echo sanitize('Álava');