Simple PHP function for sanitize strings
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;
- 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;
use function Fawno\sanitize;
echo sanitize('Álava');